Difference between revisions of "Graph --help"
Jump to navigation
Jump to search
(Created page with "{{lc}} == See also == * {{The Graph}} Category:Crypto") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
+ | [[graph]] --help | ||
+ | |||
+ | <pre> | ||
+ | CLI for building for and deploying to The Graph | ||
+ | |||
+ | VERSION | ||
+ | @graphprotocol/graph-cli/0.48.0 darwin-arm64 node-v19.7.0 | ||
+ | |||
+ | USAGE | ||
+ | $ graph [COMMAND] | ||
+ | |||
+ | COMMANDS | ||
+ | add Adds a new datasource to a subgraph. | ||
+ | auth Sets the deploy key to use when deploying to a Graph node. | ||
+ | build Builds a subgraph and (optionally) uploads it to IPFS. | ||
+ | codegen Generates AssemblyScript types for a subgraph. | ||
+ | create Registers a subgraph name | ||
+ | deploy Deploys a subgraph to a Graph node. | ||
+ | init Creates a new subgraph with basic scaffolding. | ||
+ | local Runs local tests against a Graph Node environment (using Ganache by | ||
+ | default). | ||
+ | remove Unregisters a subgraph name | ||
+ | test Runs rust binary for subgraph testing. | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | [[yarn global add @graphprotocol/graph-cli]] | ||
+ | [[graphprotocol/graph-node]] | ||
== See also == | == See also == | ||
+ | * {{graph}} | ||
* {{The Graph}} | * {{The Graph}} | ||
[[Category:Crypto]] | [[Category:Crypto]] |
Latest revision as of 12:16, 20 July 2023
graph --help
CLI for building for and deploying to The Graph VERSION @graphprotocol/graph-cli/0.48.0 darwin-arm64 node-v19.7.0 USAGE $ graph [COMMAND] COMMANDS add Adds a new datasource to a subgraph. auth Sets the deploy key to use when deploying to a Graph node. build Builds a subgraph and (optionally) uploads it to IPFS. codegen Generates AssemblyScript types for a subgraph. create Registers a subgraph name deploy Deploys a subgraph to a Graph node. init Creates a new subgraph with basic scaffolding. local Runs local tests against a Graph Node environment (using Ganache by default). remove Unregisters a subgraph name test Runs rust binary for subgraph testing.
yarn global add @graphprotocol/graph-cli graphprotocol/graph-node
See also[edit]
Advertising: