Skip to content
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

Make docs for cli #234

Open
evshubbs opened this issue May 11, 2023 · 2 comments
Open

Make docs for cli #234

evshubbs opened this issue May 11, 2023 · 2 comments

Comments

@evshubbs
Copy link

No description provided.

@evshubbs evshubbs changed the title Make docs for clu Make docs for cli May 11, 2023
@tstirrat15
Copy link
Contributor

I did some research on this and we actually can get it relatively for free from cobra internals: https://pkg.go.dev/github.com/spf13/cobra/doc#GenMarkdownTree

The lift here would be:

  1. Write a script that invokes the above, perhaps using mage
  2. Write automation that runs that script and diffs it, likely on merge
  3. Write automation that submits it to the docs repo when the diff changes

This would solve authzed/docs#260 as well.

@authzedbot
Copy link

Linked to Unthread ticket:

Permission Denied Error with CLI Connection to Cluster #576

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants