Skip to content
#

pallets

Here are 10 public repositories matching this topic...

bgschiller
bgschiller commented Oct 16, 2020

Expected Behavior

Since I set case_sensitive to False, I would expect shell completions to search without case sensitivity.

import click
from click._bashcomplete import get_choices

options = ['Paul', 'Simon', 'Art', 'Garfunkel']

@click.command()
@click.option('--opt', type=click.Choice(options))
def demo():
    pass

completions = list(get_choices(demo, 'dummy', ['

Improve this page

Add a description, image, and links to the pallets topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the pallets topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.