0.9.9 • Published 4 years ago

@tokend/redoc-cli v0.9.9

Weekly downloads
18
License
MIT
Repository
github
Last release
4 years ago

redoc-cli

ReDoc's Command Line Interface

Installation

You can use redoc cli by installing redoc-cli globally or using npx.

Usage

Two following commands are available:

  • 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.

Some examples:

  • Bundle with main color changed to orange: $ redoc-cli bundle [spec] --options.theme.colors.primary.main=orange
  • Serve with nativeScrollbars option set to true: $ redoc-cli serve [spec] --options.nativeScrollbars
  • Bundle using custom template (check default template for reference): $ redoc-cli bundle [spec] -t custom.hbs
  • Bundle using custom template and add custom templateOptions: $ redoc-cli bundle [spec] -t custom.hbs --templateOptions.metaDescription "Page meta description"

For more details run redoc-cli --help.

0.9.8

4 years ago

0.9.9

4 years ago

0.9.7

4 years ago

0.8.5

4 years ago

0.9.0

4 years ago

0.9.2

4 years ago

0.9.1

4 years ago

0.8.4

5 years ago

0.8.3

5 years ago

0.8.2

5 years ago

0.8.1

5 years ago

0.8.0

5 years ago

0.7.2

5 years ago