0.1.3 • Published 4 years ago
@barchart/barchart-documentation v0.1.3
barchart-documentation
WARNING: CLI is context sensitive. All commands will be executed for the current path.
CLI for creating documentation from JSDoc or OpenAPI.
Cache
CLI caches paths to source code, and an OpenAPI file of each project. To clear the cache, use the clear-cache or clear-package-cache commands.
Commands
CLI provides following commands:
generate
Creates docs
folder if it doesn't exist and generates documentation from JSDoc or OpenAPI.
Example:
barchart-documentation generate
init
Creates docs
folder with following structure:
├── docs
│ ├── content
│ │ ├── api
│ │ ├── concepts
│ │ ├── releases
│ │ └── sdk
│ ├── static
│ └── styles
Example:
barchart-documentation init
serve
Starts a local web server to host documentation.
Example:
barchart-documentation serve
clear-cache
Clears cached paths for each package.
Example:
barchart-documentation clear-cache
clear-package-cache
Clears cached paths for the current package.
Example:
barchart-documentation clear-package-cache