MSafe | Aptos
  • Overview
    • MSafe Overview
    • What can you do with MSafe wallet?
      • Why Multi-Sig & Non-Custodial
      • MSafe Wallet Key Benefits
    • Use Cases
      • Treasury Management
      • Smart Contract Deployment & Update
      • Protocol Admin Control
      • dApp Store Integration
    • Security
  • Users
    • Glossary
    • Launch App
    • Connect Wallet
    • Navigation Bar
    • Address Book
    • Create an Account
      • Initiate Creation
      • Co-Managers to Accept
    • Switch btw Accounts
    • Deposit / Receive
    • View Assets
    • View Pending Txn
    • View Txn History
    • Propose Transaction (Enable NFT, Send, Register Coin)
      • Enable NFT
      • Send
      • Add Coin
    • Approve Transaction
      • Co-Managers to Approve Enable NFT
      • Co-Managers to Approve Send
      • Co-Manager to Approve Add Coin
    • Change Vote
    • Reject Transaction
      • Co-Managers to Reject
    • Execute Transaction
      • Execute Approval
      • Execute Rejection
    • App Store
      • Use dApps
    • MSafe 1.0 User guide
      • Connect Wallet
      • First time registration
      • Create an MSafe Account
      • Receive Coin
      • Coin Transfer (APT)
      • DAPP Store
      • Add a new coin
      • Address Book
      • Permissions
      • Wallet FAQs
  • Developers
    • Overview
    • System
      • Auth-key & Multi-Ed25519
      • Backend Walk Through
      • MSafe Contracts
    • Interactive CLI
      • Installation
      • CLI arguments
      • Register and View
      • Create a MSafe Wallet
      • Approve / execute a transaction
      • Transfer Coin
      • Smart Contract | Module Publish
      • Entry Function
      • Reject a transaction
      • Migration from MSafe 1.0 to MSafe 2.0
    • SDK
      • Smart Contract | Deploy a MOVE Module
      • Call An Entry Function
    • Integrate with MSafe (DAPP)
      • FAQ
    • Move Module Publish
  • Product updates
    • 2022 Q4
Powered by GitBook
On this page
  1. Developers
  2. Interactive CLI

CLI arguments

Please finish Installation to setup the environments and dependancies.

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}
PreviousInstallationNextRegister and View

Last updated 2 years ago