16 releases

0.4.5 Jun 26, 2024
0.4.2 Feb 17, 2024
0.4.0-alpha.4 Dec 5, 2023
0.4.0-alpha.2 Nov 22, 2023
0.2.0 May 31, 2023

#4 in #avalanche

BSD-3-Clause

360KB
8K SLoC

ash_cli Crate

This crate provides the ash command line interface. It aims at boosting Avalanche developers productivity by providing a set of commands to interact with Avalanche. Some of the commands are:

# List available Avalanche networks
ash avalanche network list

# List the Subnets of the mainnet network
ash avalanche subnet list --network mainnet

# Show detailed information about one of the mainnet Subnets
# The output can be set to JSON and piped to jq for maximum flexibility
ash avalanche subnet info Vn3aX6hNRstj5VHHm63TCgPNaeGnRSqCYXQqemSqDd2TQH4qJ --json | jq '.blockchains'

# Show detailed information about a validator of the mainnet Subnet
ash avalanche validator info --network fuji NodeID-FhFWdWodxktJYq884nrJjWD8faLTk9jmp

Available commands

  • ash conf

    Interact with Ash configuration files
    
    Usage: ash conf [OPTIONS] <COMMAND>
    
    Commands:
      init  Initialize an Ash config file
    
  • ash avalanche

    Interact with Avalanche Subnets, blockchains and nodes
    
    Usage: ash avalanche [OPTIONS] <COMMAND>
    
    Commands:
      blockchain  Interact with Avalanche blockchains
      network     Interact with Avalanche networks
      node        Interact with Avalanche nodes
      subnet      Interact with Avalanche Subnets
      validator   Interact with Avalanche validators
      vm          Interact with Avalanche VMs
      wallet      Interact with Avalanche wallets
      x           Interact with Avalanche X-Chain
    

Tutorials

See the Tutorials section of the documentation.

Dependencies

~56–77MB
~1.5M SLoC