Closed ZanyMonk closed 12 months ago
When completing option values, only values corresponding to the option being completed should be shown.
Following exemples are based on a command looking like this:
@click.command() @click.option('-a', type=click.Choice(['a_val1', 'a_val2'])) @click.option('-b', type=click.Choice(['b_val1', 'b_val2'])) def cli(): pass
> cmd -a <TAB> a_val1 a_val2 b_val1 b_val2
> cmd -a <TAB> a_val1 a_val2
@GhostOps77 can you try and review it please?
@auvipy yep, everything looks good and works well as expected! No issues in here You can merge this PR
When completing option values, only values corresponding to the option being completed should be shown.
Following exemples are based on a command looking like this:
Before
After