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

How to show all help? #3

Open
fresh2dev opened this issue Jan 10, 2025 · 1 comment
Open

How to show all help? #3

fresh2dev opened this issue Jan 10, 2025 · 1 comment

Comments

@fresh2dev
Copy link

I am interested in what this library offers. I'm curious, and since I'm not at a computer right now and I don't see this in the docs, I thought I'd ask... Is there any way to see all available flags within help?

Without that, it seems these conditional args would only be beneficial if you built the CLI for your own personal use. Suppose you published CLI app with no docs and several conditional arguments; could the user somehow discover those conditional args through the help text?

@landoskape
Copy link
Owner

Hi, thanks for the interest. Originally it wouldn't, but I think it's probably better to always show all the possibilities if the user asks for help. I've made some changes to the code that will now include all conditional arguments when users ask for help. These updates are available on pypi - it's version >=0.2.0

Nothing beats good documentation though :)

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