mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 01:22:54 +00:00
refactor: update the CLI examples
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user