Require name for profile init
This commit is contained in:
parent
4bba3e606c
commit
e6d084b513
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ def config_prompt(text: str, default: any, field_type: type = str, bold: bool =
|
|||
@cmd_profile.command(name='init')
|
||||
@noninteractive_flag
|
||||
@noop_flag
|
||||
@click.argument('name', required=False)
|
||||
@click.argument('name', required=True)
|
||||
def cmd_profile_init(name: str = None, non_interactive: bool = False, noop: bool = False):
|
||||
"""Create or edit a profile"""
|
||||
profile = {key: None for key in PROFILE_DEFAULTS.keys()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue