Skip to content
Myr

Merge pull request #772 from stopthatcow/feature/update_bash_completion_docs

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

Update bash completion docs

authored by Markus Unterwaditzer · committed by GitHub · parents 5f2ff4f, fa5c5c9 · 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