Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add no_args_is_help to click.Command #1167
The functionality for no_args_is_help, available on MultiCommands, can easily be added on Commands as well. The result is not much more code, and a more consistent interface between MultiCommands and Commands.
Will add changelog edit in a moment, after this PR is assigned a number.
I just had a coworker ask me about this feature (unaware of this PR), so I guess that's a
In #1156 I said I wasn't sure we needed this, but maybe I'm changing my tune on it. Seems easy for
Yeah, I think "just don't try to do that" is a reasonable stance.
I noticed a small typo in my changelog entry, which I just amended. That's why there's a fresh commit.