Expected Behavior
Tab completing a command using click should simply autocomplete the text in window, not execute the callback until the command as a whole is executed.
@click.option(
'--password',
is_flag=True,
type=bool,
default=False,
help='Password option',
callback=prompt_password,
hide_input=True,
)
Actual Behavior
Callback executes and prompts for password in-line after tab complete
Environment
- Python version: 3.5
- Click version: click-shell==1.0
Expected Behavior
Tab completing a command using click should simply autocomplete the text in window, not execute the callback until the command as a whole is executed.
Actual Behavior
Callback executes and prompts for password in-line after tab complete
Environment