-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List all CLI options in Docs #3799
Comments
Hi @Geoffrotism! And thank you for suggesting this. I think the ease of providing the If you are running OPA through Docker, |
I've never looked at it too closely, but we've got some man page generation here, #2273. I suppose that could play a part here. If I understand you correctly, a web-accessible version of the man pages would help. |
https://github.com/spf13/cobra/blob/v1.2.1/doc/md_docs.md could be useful, too |
Yes, a programmatically generated page from the CLI man would be the best solution IMO. It does exactly what I was looking for without putting a burden on the devs to keep it up to date. |
@Geoffrotism thanks for filing this and replying. I've filed another issue that's a bit more prescriptive about how to move forward. I'm going to close this one in favor of the new issue. |
I have looked through the OPA docs (https://www.openpolicyagent.org/docs/latest/) for a few weeks and still have problems knowing what CLI options I have available to me.
The Debugging Page says that I can use
--explain
to see trace logging but this is only available during SOME CLI commands. Like the fact that is says i can use explain but I can really only do that during EVAL or TEST and not during RUN is confusing.A singular DOC page which lists out all of the CLI commands and flags available for each command would be so helpful.
I know this is usually available by running
opa run help
etc. but I don't have OPA installed locally and have it running through the docker image instead.The text was updated successfully, but these errors were encountered: