Granary

Granary

  • Docs
  • Tutorials
  • API

›API

Getting started

  • What & Why
  • Installation

API

  • CLI Commands
  • Configuration

Client

  • Using the client

Sandbox

  • Introduction
  • Activating a protocol

Contributing

  • Development environment
  • Updating the docs
  • Examples on how to contribute to Granary

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
Last updated on 5/20/2019 by Matej Sima
← InstallationConfiguration →
  • Version
  • Help
    • Help for sub-commands
  • Config
    • Show all
    • Show property
    • Set property
    • Setting a custom config path
  • Init
  • Node
    • Init
    • Start
    • Stop
    • Clean
  • Client
    • Init
    • Forwards commands
    • Clean
Docs
APIConfig
Community
Stack OverflowProject ChatTwitter
More
GitHubStar
Facebook Open Source
Copyright © 2019 Stove Labs
Icons made by Freepik and Smashicons from www.flaticon.com is licensed by CC 3.0 BY
Terminal window by nikitahl