refactor: update the CLI examples

This commit is contained in:
Michel Jonathan Schmitz
2019-01-30 08:14:47 +00:00
parent 5d105c4fa4
commit ba2de4b48f

View File

@@ -34,13 +34,13 @@ where:
Complete command with the example arguments is then: Complete command with the example arguments is then:
```shell ```shell
node_modules/.bin/openstapps-core-tools src/core lib/schema node_modules/.bin/openstapps-core-tools schema src/core lib/schema
``` ```
Inside of a script in `package.json` or if the npm package is installed globally, the tool `stapps-convert` can be called without its local path (`node_modules/.bin`): Inside of a script in `package.json` or if the npm package is installed globally, the tool `stapps-convert` can be called without its local path (`node_modules/.bin`):
```shell ```shell
openstapps-core-tools src/core lib/schema openstapps-core-tools schema src/core lib/schema
``` ```
## How to use the validator? ## How to use the validator?
@@ -114,13 +114,13 @@ where:
Command with the example arguments is then for example: Command with the example arguments is then for example:
```shell ```shell
node_modules/.bin/openstapps-core-tools lib/schema src/test/resources node_modules/.bin/openstapps-core-tools validate lib/schema src/test/resources
``` ```
Inside of a script in `package.json` or if the npm package is installed globally, the tool `openstapps-validate` can be called without its local path (`node_modules/.bin`): Inside of a script in `package.json` or if the npm package is installed globally, the tool `openstapps-validate` can be called without its local path (`node_modules/.bin`):
```shell ```shell
openstapps-core-tools lib/schema src/test/resources report.html openstapps-core-tools validate lib/schema src/test/resources report.html
``` ```
## Generate documentation for routes ## Generate documentation for routes