CLI arguments
If you are using the all the default options to init a wallet, you are free to skip this page. This page will elaborate some extra CLI arguments.
You are able to view all optional arguments by running with
-h
flag:$ yarn start -h
yarn run v1.22.18
$ ts-node ./src/cmd/main.ts -h
Usage: main [options]
Momentum Safe CLI
Options:
-V, --version output the version number
-c, --config <string> config file of aptos profile (default: ".aptos/config.yaml")
-p --profile <string> profile to use in aptos config (default: "default")
-h, --help display help for command
Flag
-c, --config
and -p --profile
specifies which Aptos config you would like to use for the interactive CLI. For example, if you want to run a specific Aptos profile name under a custom config yaml file, you may run the following command line:
yarn start -c ${YOUR_CONFIG_YAML_FILE} -p {YOUR_PROFILE}
Last modified 4mo ago