@core-dev-fura/cli
v0.42.5
Published
CLI for building for and deploying to Fura Graph Node
Downloads
16
Readme
Fura Graph CLI
Fura Graph Command Line Interface
Installation
The Graph CLI can be installed with npm or yarn:
# NPM
npm install -g @core-dev-fura/cli
# Yarn
yarn global add @core-dev-fura/cliUsage
Fura subgraph commands, send to fura graph node
USAGE
$ fura graph [SUBGRAPH-NAME] -g <value> --access-token <value> [-h] [--command <value>] [--ipfs-hash <value>] [--version-label <value>]
FLAGS
-g, --node=<value> (required) Fura graph node
-h, --help Show CLI help.
--access-token=<value> (required) Fura graph access token.
--command=<value> Fura graph command. Supported commands are: info, list, submit, revoke. You can also use commands:
graph:info, graph:list, graph:submit, graph:revoke, which will be executed separately. Remeber
graph:submit builds your project first, while graph --command=submit only does the submit and you need
to give the ipfsHash and versionLabel as follows:
--ipfs-hash=<value> Fura graph command submit ipfsHash.
--version-label=<value> Fura graph command submit versionLabel.
DESCRIPTION
Fura subgraph commands, send to fura graph node
COMMANDS
graph:info Get subgraph info from fura graph node
graph:list List subgraphs from fura graph node
graph:revoke Revoke a subgraph from fura graph node
graph:submit Submit a subgraph to fura graph node.