open-policy-agent / opa

Open Policy Agent (OPA) is an open source, general-purpose policy engine.
https://www.openpolicyagent.org
Apache License 2.0
9.32k stars 1.29k forks source link

docs: Use Example field for alternative commands #6837

Closed charlieegan3 closed 4 days ago

charlieegan3 commented 4 days ago

This makes it safer to process this text into markdown and other formats. (<path> is tricky as it looks like an HTML tag.

CLI output would look like this:

$ go run main.go exec --help
...
e.g., opa exec --decision /foo/bar/baz ...

Usage:
  main exec <path> [<path> [...]] [flags]

Examples:
  Loading input from stdin:
    main exec [<path> [...]] --stdin-input [flags]
netlify[bot] commented 4 days ago

Deploy Preview for openpolicyagent ready!

Name Link
Latest commit d1f3830ee2bb67d1bf827cc2cec1a0f111802df8
Latest deploy log https://app.netlify.com/sites/openpolicyagent/deploys/6682766506a91d00082e716f
Deploy Preview https://deploy-preview-6837--openpolicyagent.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.