Help and Shortcuts
The help flag can be used after any command to get information on it.
? [email protected]> wallets add --help
Adds a new wallet. Can be used with the --recover flag to add a wallet by mnemonic.
wallets add <name>
recover Recovers a wallet by mnemonic
help Displays info about the current command
Any request inputs can be exited using one of the following inputs: .exit, .quit, .e, .q, exit
Documentation can be found here: https://docs.andromedaprotocol.io/andromeda/andromeda-cli/
In addition to the help flag, you can you the "tab" button on your keyboard to list the available commands or even autocomplete a command.
To test this out, write any of the commands available but do not press enter to run it. Instead press tab and the "Available commands" should pop up.
In this example, write the first letter of the command you want to run and see how the CLI will autocomplete it for you.
? [email protected]> () wallets a
//Press "tab" button to autocomplete the command
? [email protected]> () wallets add
Our CLI accepts inputs from the parent shell using the andr keyword.
On my terminal I run:
andr chain list
– Connecting client...
Name Chain ID
The command runs and the result is displayed but we are still in the parent shell.
Prints the current CLI version