CLI Commands
List of all available CLI commands for granary, including their required & optional arguments.
⚠️ Arguments for the cli are either <required> or [optional]
Version
Displays the currently installed CLI version.
granary --version
Help
Displays help & useful links.
granary --help
Help for sub-commands
Displays detailed help for the given sub-command, e.g. config
.
granary [command] --help
Config
Provides a way to manipulate the Granary config for your project, and adds an option to set a config path when executing CLI commands.
Show all
granary config show
Show property
granary config show [property]
Set property
⚠️ You can omit the value when setting a property to delete it instead.
⚠️ All config values are currently being handled as strings, this may change in future releases.
granary config set <property> [value]
Setting a custom config path
export GRANARY_CONFIG=custom-config.json
granary config show
Init
Scaffolds both Node & Client's data directories and setups Docker for use with Granary
granary init
Node
Manipulate the sandboxed Tezos node.
Init
granary node init
Start
granary node start
Stop
granary node stop
Clean
granary node clean
Client
Pass-through commands to a pre-configured tezos-client.
Init
granary client init
Forwards commands
granary client - list known addresses
Clean
granary client clean