1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/sui-move.md
Alexandros Tzimas d74970154c
sui: add page (#14479)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-10-31 09:10:27 +01:00

32 lines
736 B
Markdown

# sui move
> Work with Move source code.
> More information: <https://docs.sui.io/references/cli/move>.
- Create a new Move project in the given folder:
`sui move new {{project_name}}`
- Test the Move project in the current directory:
`sui move test`
- Test with coverage and get a summary:
`sui move test --coverage; sui move coverage summary`
- Find which parts of your code are covered from tests (i.e. explain coverage results):
`sui move coverage source --module {{module_name}}`
- Build the Move project in the current directory:
`sui move build`
- Build the Move project from the given path:
`sui move build --path {{path}}`
- Migrate to Move 2024 for the package at the provided path:
`sui move migrate {{path}}`