You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since I've upgraded to click 7.0 the bash completion replaces underscores (_) in command names with dashes (-)
@click.command(short_help="Delete a group")
@click.option("groupname", '-g', '--group', type=str, required=True)
@click.option("--yes", is_flag=True, default=False)
@click.pass_context
def delete_group(ctx, yes, groupname):
"""
Deletes a group identified by its short ID
the help message it looks like this:
Options:
--version Show the version and exit.
-e, --env [prod|stage|dev] Choose environment to execute commands
-h, --help Show this message and exit.
Commands:
create_project Creates a new project
delete_group Delete a group
[...]
Gif example here:
The text was updated successfully, but these errors were encountered:
Hi,
since I've upgraded to click 7.0 the bash completion replaces underscores (_) in command names with dashes (-)
the help message it looks like this:
Gif example here:
The text was updated successfully, but these errors were encountered: