-
Notifications
You must be signed in to change notification settings - Fork 10
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
Aliases not added if Group
is initialized with a list of commands
#172
Comments
Group
is initialized with a list of commands
Hi @ououmania, thanks for reporting. This looks like a bug, I'll look into it when I have time. Can you please file this issue as a bug and re-describe it in the following format to add clarity and ease my testing? You can leave your current snippet as proposed solution at the end of the issue. Always start a bug with a reproducible example. Thank you.
|
Thanks for your reply. Sure. I've updated the comment. |
Bug description
The subcommands' aliases are not added if a cloup.Group is instantiated directly with subcommands.
To Reproduce
The following snippet can be used to show the problem.
Save it in cloup_test.py and run the script. An error message will be printed.
Possible solution
Init alias2name correctly in cloup.Group.init
The text was updated successfully, but these errors were encountered: