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

Allow multiple definitions of a command with a block #152

Merged
merged 2 commits into from
Jul 6, 2013

Conversation

johnl
Copy link
Contributor

@johnl johnl commented Jul 4, 2013

This allows "reopening" of a command so you can add more
subcommands. Fixes #144, in a roundabout way.

johnl added 2 commits July 4, 2013 13:28
This allows "reopening" of a command so you can add more
subcommands. Fixes davetron5000#144, in a roundabout way.
When adding the feature to support reopening commands to add subcommands,
I didn't notice that the parent command was getting added to the help
output multiple times. Added a test case and fixed it.
davetron5000 added a commit that referenced this pull request Jul 6, 2013
Allow multiple definitions of a command with a block
@davetron5000 davetron5000 merged commit 9c1bc10 into davetron5000:gli-2 Jul 6, 2013
@davetron5000
Copy link
Owner

Nice, thanks! And thanks for the test coverage.

@davetron5000
Copy link
Owner

This is now in 2.7.0

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

Successfully merging this pull request may close these issues.

commands_from should support subcommands
2 participants