From 10833b532fd50d19903919aa6a6a1aba9d24b575 Mon Sep 17 00:00:00 2001 From: Siarhei Bautrukevich Date: Thu, 24 Jan 2019 14:34:30 +0300 Subject: [PATCH] Update README for ReDoc cli --- cli/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/README.md b/cli/README.md index 7b836f47..9c4d8dd6 100644 --- a/cli/README.md +++ b/cli/README.md @@ -17,5 +17,6 @@ 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](https://github.com/Rebilly/ReDoc/blob/master/cli/template.hbs) 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`.