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

Is there a way to print the entire CLI surface? #496

Open
eyeinsky opened this issue Oct 27, 2024 · 2 comments
Open

Is there a way to print the entire CLI surface? #496

eyeinsky opened this issue Oct 27, 2024 · 2 comments

Comments

@eyeinsky
Copy link
Contributor

With exe subcommand --help one can print out the arguments and options for that specific subcommand -- is there a way to print the entire subcommand tree?

@HuwCampbell
Copy link
Collaborator

So, not directly no; but it should be relatively straight forward to write something with mapParser. I guess it just depends on what you want the output to look like.

@eyeinsky
Copy link
Contributor Author

I was just looking for confirmation that there isn't a library function that does it, I'll likely attempt to add it soon. The hint to use mapParser is also valuable, thanks!

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

2 participants