Skip to content

Commit

Permalink
docs: Update generated CLI docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cli-docs-updater committed Feb 21, 2023
1 parent eb087de commit 15ecb99
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/content/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,18 @@ File paths can be specified as URLs to resolve ambiguity in paths containing col

$ opa run file:///c:/path/to/data.json

URL paths to remote public bundles (http or https) will be parsed as shorthand
configuration equivalent of using repeated --set flags to accomplish the same:

$ opa run -s https://example.com/bundles/bundle.tar.gz

The above shorthand command is identical to:

$ opa run -s --set "services.cli1.url=https://example.com" \
--set "bundles.cli1.service=cli1" \
--set "bundles.cli1.resource=/bundles/bundle.tar.gz" \
--set "bundles.cli1.persist=true"

The 'run' command can also verify the signature of a signed bundle.
A signed bundle is a normal OPA bundle that includes a file
named ".signatures.json". For more information on signed bundles
Expand Down

0 comments on commit 15ecb99

Please sign in to comment.