Skip to content

Commit d6333e6

Browse files
authored
fix: Mark scriptor pull's --force as flag (#217)
No longer needed to write `--force True` -- just `--force` ... and improve help text.
1 parent ce95368 commit d6333e6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/viur_cli/scriptor/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ def check_session(ctx: click.Context):
128128
get_modules()
129129

130130
@script.command()
131-
@click.option('--force', default=False, help='Force replace files from server in local working directory')
131+
@click.option('--force', default=False, is_flag=True,
132+
help='Overwrite local files without asking for confirmation')
132133
@click.pass_context
133134
def pull(ctx: click.Context, force: bool):
134135
"""

0 commit comments

Comments
 (0)