0.1.3 • Published 5 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 generateinit
Creates docs folder with following structure:
├── docs
│ ├── content
│ │ ├── api
│ │ ├── concepts
│ │ ├── releases
│ │ └── sdk
│ ├── static
│ └── stylesExample:
barchart-documentation initserve
Starts a local web server to host documentation.
Example:
barchart-documentation serveclear-cache
Clears cached paths for each package.
Example:
barchart-documentation clear-cacheclear-package-cache
Clears cached paths for the current package.
Example:
barchart-documentation clear-package-cache