mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 16:46:34 +03:00
chore: update redoc-cli docs
This commit is contained in:
parent
f993e9b443
commit
03cc781b8d
|
@ -167,14 +167,14 @@ Here are detailed [options docs](#redoc-options-object).
|
|||
|
||||
## ReDoc CLI
|
||||
|
||||
You can use redoc cli by installing `redoc` globally or using [npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b).
|
||||
You can use redoc cli by installing `redoc-cli` globally or using [npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b).
|
||||
|
||||
Twe following commans are available:
|
||||
|
||||
- `redoc serve [spec]` - starts the server with `spec` rendered with ReDoc. Supports SSR mode (`--ssr`) and can watch the spec (`--watch`)
|
||||
- `redoc bundle [spec]` - bundles spec and ReDoc into **zero-dependency** HTML file.
|
||||
- `redoc-cli serve [spec]` - starts the server with `spec` rendered with ReDoc. Supports SSR mode (`--ssr`) and can watch the spec (`--watch`)
|
||||
- `redoc-cli bundle [spec]` - bundles spec and ReDoc into **zero-dependency** HTML file.
|
||||
|
||||
For more details run `redoc --help`.
|
||||
For more details run `redoc-cli --help`.
|
||||
|
||||
## Configuration
|
||||
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
# redoc-cli
|
||||
|
||||
**[ReDoc](https://github.com/Rebilly/ReDoc)'s Command Line Interface**
|
||||
|
||||
[Documentation](https://github.com/Rebilly/ReDoc/tree/react-rewrite#redoc-cli)
|
||||
|
||||
## Installation
|
||||
TBD
|
||||
|
||||
## Usage
|
||||
TBD
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "redoc-cli",
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"description": "ReDoc's Command Line Interface",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user