Andromeda
ADO LibraryBuild AppsDevelop ADOsCLIWeb Application Docs
Andromeda
Andromeda
  • Platform and Framework
    • Introduction to AndromedaOS
    • ADO Classes
    • Andromeda Messaging Protocol
      • Kernel
      • ADO Database
      • Economics Engine
      • Virtual File System
    • ADO Base
      • AndromedaMsg
      • AndromedaQuery
    • Common Types
    • Deployed Contracts
    • ADO Versions
  • Andromeda Digital Objects
    • Introduction to ADOs
    • Address List
    • Auction
    • App
    • Curve
    • CW20
    • CW20 Staking
    • CW721
    • CW20 Exchange
    • Fixed Amount Splitter
    • Graph
    • Lockdrop
    • Marketplace
    • Merkle-Airdrop
    • Point
    • Primitive
    • Rates
    • Splitter
    • Timelock
    • Validator Staking
    • Vesting
  • Andromeda Apps
    • Introduction to Apps
    • Auctioning App
    • Cw20 Staking App
    • Marketplace App
  • Developing an ADO
    • Getting Started
      • Instantiation
      • Execution
      • Queries
      • Testing
    • Error Handling and Migrate Function
    • CW3 EXAMPLE
      • InstantiateMsg
      • ExecuteMsg
      • QueryMsg
      • Testing
    • 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
  • Andromeda Changelog
    • Newest Releases
  • 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> wallets 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 a

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

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

Was this helpful?