Skip to content
Myr

Update bash completion docs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Nicholas Wiles · committed by Nicholas Wiles · parent 5f2ff4f · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/bashcomplete.rst+1 added-1 removed
44 unmodified lines
45.. click:example::4647 import os4849 def get_env_vars(ctx, incomplete, cwords, cword):49 def get_env_vars(ctx, args, incomplete):50 return os.environ.keys()5152 @click.command()53 @click.argument("envvar", type=click.STRING, autocompletion=get_env_vars)
53 unmodified lines