diff --git a/README.md b/README.md index 896b9bade..26408188e 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ As of today, the command line interface supports the following commands: - `graph auth` — Stores a [Graph Node](https://github.com/graphprotocol/graph-node) access token in the system's keychain. - `graph local` — Runs tests against a [Graph Node](https://github.com/graphprotocol/graph-node) test environment (using Ganache by default). - `graph test` — Downloads and runs the [Matchstick](https://github.com/LimeChain/matchstick) rust binary in order to test a subgraph. +- `graph add` - Adds a new datasource to the yaml file and writes the necessary changes to other files - schema.graphql, abi and mapping. ## How It Works diff --git a/src/commands/add.js b/src/commands/add.js index 2b9863fa4..ba884254f 100644 --- a/src/commands/add.js +++ b/src/commands/add.js @@ -24,7 +24,7 @@ ${chalk.dim('Options:')} ` module.exports = { - description: 'Creates a new subgraph with basic scaffolding', + description: 'Adds a new datasource to a subgraph', run: async toolbox => { // Obtain tools let { print, system } = toolbox