Andromeda
ADO LibraryBuild AppsDevelop ADOsCLIWeb Application Docs
Andromeda Archives
Andromeda Archives
  • Platform and Framework
    • Introduction to AndromedaOS
    • ADO Classes
    • Andromeda Messaging Protocol
      • Kernel
      • ADO Database
      • Economics Engine
      • Virtual File System
    • ADO Base
      • AndromedaMsg V1.0.0
      • AndromedaQuery V1.0.0
    • Common Types
    • Deployed Contracts
  • Andromeda Digital Objects
    • Introduction to ADOs
    • Auction V1.0.0
    • App V1.0.1
    • Crowdfund V1.0.0
    • CW20 V1.0.0
    • CW20 Staking V1.0.0
    • CW721 V1.0.0
    • CW20 Exchange V1.0.0
    • Lockdrop V1.0.0
    • Marketplace V1.0.0
    • Merkle-Airdrop V1.0.0
    • Rate Limiting Withdrawals V1.0.0
    • Splitter V1.0.0
    • Timelock V1.0.0
  • Andromeda Apps
    • Introduction to Apps
    • Crowdfunding App
    • Auctioning App
    • Cw20 Staking App
    • Marketplace App
  • Developing an ADO
    • Getting Started
      • Instantiation
      • Execution
      • Queries
      • Testing
    • ADO Example
    • ADO Submissions
  • Andromeda CLI
    • Introduction
    • Help and Shortcuts
    • ADO
    • Bank
    • Chain
    • Env
    • Gql
    • Tx
    • OS
    • Wallet
    • Wasm
    • Clearing CLI Data
    • Clear and Exit
  • Chain
    • Running a Node
    • Staking and Rewards
  • Andromeda Dashboard
    • Tokenomics Dashboard
    • Dashboard API
  • Additional Resources
    • GitHub
    • Website
    • White Paper
Powered by GitBook

Additional Resources

  • Github
  • Website

Community

  • Discord
  • Telegram

Socials

  • Twitter
  • Medium
  • Youtube
On this page
  • Help Flag
  • Autofill Suggestions
  • Direct Shell Input
  • Exiting an Operation
  • Version

Was this helpful?

  1. Andromeda CLI

Help and Shortcuts

Help Flag

The help flag can be used after any command to get information on it.

Example

? user@galileo-3> wallet add --help
Adds a new wallet. Can be used with the --recover flag to add a wallet by mnemonic.

Usage:
wallets add <name>

Valid flags:
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/

Autofill Suggestions

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.

Example

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.

? $main@elgafar-1> () wallet

//Press "tab" button
>> Available commands:
add     rm      use     list         

In this example, write the first letter of the command you want to run and see how the CLI will autocomplete it for you.

? $main@elgafar-1> () wallets aut

//Press "tab" button to autocomplete the command
? $main@elgafar-1> () wallets autosave

Direct Shell Input

Our CLI accepts inputs from the parent shell using the andr keyword.

Usage

andr <command> 

Example

On my terminal I run:

andr chain list 

Result

– Connecting client...
Name        Chain ID     
elgafar1    elgafar-1    
pisco1      pisco-1      
sei-network atlantic-1   
injective   injective-888
galileo3    galileo-3          

The command runs and the result is displayed but we are still in the parent shell.

Exiting an Operation

You can exit the current prompt by either typing "exit" or just pressing escape

Version

Prints the current CLI version

Example

? mainnet-1@andromeda-1> version
Version: 1.0.0
? mainnet-1@andromeda-1> ()
PreviousIntroductionNextADO

Last updated 7 months ago

Was this helpful?