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

Help for subcommands not working when required options are defined at the root group level #56

Open
hcvdwerf opened this issue Dec 9, 2024 · 0 comments

Comments

@hcvdwerf
Copy link
Contributor

hcvdwerf commented Dec 9, 2024

When a click.group defines required options at the root level, trying to access help for subcommands (e.g., command --help) fails unless all required options for the root group are provided. This behavior is counterintuitive, as users should be able to view help for subcommands without needing to satisfy the root group's required options.

Steps to Reproduce

  1. Run img2catalog fdp --help
  2. This commands fauls
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

1 participant