archway-network / cli

Develop WASM smart contracts with the Archway network developer CLI
https://docs.archway.io
Apache License 2.0
44 stars 21 forks source link

feat(config): add command to list available chains #240

Closed aelesbao closed 1 year ago

aelesbao commented 1 year ago

New command

archway config chains list

$ archway config chains list --help
Description:
  Lists all available chains to use

Usage:
  $ archway config chains list [--json] [--log-level debug|info|warn|error] [--columns <value> | -x] [--sort <value>] [--filter <value>] [--no-truncate | ] [--no-header | ]

Flags:
  -x, --extended     show extra columns
  --columns=<value>  only show provided columns (comma-separated)
  --filter=<value>   filter property by partial string matching, ex: name=foo
  --no-header        hide table header from output
  --no-truncate      do not truncate output to fit screen
  --sort=<value>     property to sort by (prepend '-' for descending)

GLOBAL Flags:
  --json                Format output as json.
  --log-level=<option>  Specify level for logging.
                        <options: debug|info|warn|error>

Examples:
  $ archway config chains list