diff --git a/cli/README.md b/cli/README.md index 1d6537b6..29002ce1 100644 --- a/cli/README.md +++ b/cli/README.md @@ -31,4 +31,10 @@ Some examples: - Bundle using a custom template and add custom `templateOptions`:
`$ redoc-cli build [spec] -t custom.hbs --templateOptions.metaDescription "Page meta description"` +#### With `.redocly.yaml` file ([more info](https://redoc.ly/docs/api-reference-docs/on-premise/cli-usage/#example-with-try-it-console-enabled)): + +1. Go to folder with `.redocly.yaml` and your definition file +2. Build site using command (options from `.redocly.yaml` file will be automatically fetched): + `redoc build openapi.yaml` + For more details, run `redoc-cli --help`.