Crates.io | ash_cli |
lib.rs | ash_cli |
version | 0.4.5 |
source | src |
created_at | 2023-04-28 13:02:03.559001 |
updated_at | 2024-06-26 09:06:50.728104 |
description | Ash CLI |
homepage | https://ash.center |
repository | https://github.com/AshAvalanche/ash-rs |
max_upload_size | |
id | 851361 |
size | 415,214 |
ash_cli
CrateThis 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
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
See the Tutorials section of the documentation.