Created
February 26, 2019 10:53
-
-
Save Robert-96/8c523507ad3c7bd50b706df1a93c4c52 to your computer and use it in GitHub Desktop.
Click help option with `--help` and `-h`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import click | |
CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help']) | |
@click.group(context_settings=CONTEXT_SETTINGS) | |
def cli(): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment