snippetbashTip
sui move — Work with Move source code. More information: <https://docs.sui.io/references/cli/move>.
Viewed 0 times
commandsourcesui moveclimovecodewithwork
Problem
How to use the
sui move command: Work with Move source code. More information: <https://docs.sui.io/references/cli/move>.Solution
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 testTest with coverage and get a summary:
sui move test --coverage; sui move coverage summaryFind 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 buildBuild 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}}Code Snippets
Create a new Move project in the given folder
sui move new {{project_name}}Test the Move project in the current directory
sui move testTest with coverage and get a summary
sui move test --coverage; sui move coverage summaryFind 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 buildContext
tldr-pages: common/sui move
Revisions (0)
No revisions yet.