Open fortmcas opened 4 years ago
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, )
Callback executes and prompts for password in-line after tab complete
N/A
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