Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stwiname committed Sep 29, 2021
1 parent e49368b commit 79be06a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $ npm install -g @subql/cli
$ subql COMMAND
running command...
$ subql (-v|--version|version)
@subql/cli/0.11.3-0 linux-x64 node-v14.17.6
@subql/cli/0.12.0 darwin-x64 node-v14.15.1
$ subql --help [COMMAND]
USAGE
$ subql COMMAND
Expand Down Expand Up @@ -51,7 +51,7 @@ OPTIONS
--mode=(production|prod|development|dev) [default: production]
```

_See code: [lib/commands/build.js](https://github.com/packages/cli/blob/v0.11.3-0/lib/commands/build.js)_
_See code: [lib/commands/build.js](https://github.com/packages/cli/blob/v0.12.0/lib/commands/build.js)_

## `subql codegen`

Expand All @@ -63,10 +63,11 @@ USAGE
OPTIONS
-f, --force
-l, --location=location local folder to run codegen in
--file=file
```

_See code: [lib/commands/codegen.js](https://github.com/packages/cli/blob/v0.11.3-0/lib/commands/codegen.js)_
_See code: [lib/commands/codegen.js](https://github.com/packages/cli/blob/v0.12.0/lib/commands/codegen.js)_

## `subql help [COMMAND]`

Expand Down Expand Up @@ -98,10 +99,13 @@ ARGUMENTS
OPTIONS
-f, --force
-l, --location=location local folder to create the project in
--install-dependencies Install dependencies as well
--npm Force using NPM instead of yarn, only works with `install-dependencies` flag
--starter
```

_See code: [lib/commands/init.js](https://github.com/packages/cli/blob/v0.11.3-0/lib/commands/init.js)_
_See code: [lib/commands/init.js](https://github.com/packages/cli/blob/v0.12.0/lib/commands/init.js)_

## `subql validate`

Expand All @@ -116,5 +120,5 @@ OPTIONS
--silent
```

_See code: [lib/commands/validate.js](https://github.com/packages/cli/blob/v0.11.3-0/lib/commands/validate.js)_
_See code: [lib/commands/validate.js](https://github.com/packages/cli/blob/v0.12.0/lib/commands/validate.js)_
<!-- commandsstop -->

0 comments on commit 79be06a

Please sign in to comment.