Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Z | 15,211 | 23 days ago | 1 | February 27, 2018 | 103 | wtfpl | Shell | |||
z - jump around | ||||||||||
Zsh Autocomplete | 3,325 | 12 hours ago | 6 | mit | Shell | |||||
🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion. | ||||||||||
Fzf Tab | 2,055 | 2 months ago | 57 | mit | Shell | |||||
Replace zsh's default completion selection menu with fzf! | ||||||||||
Bash Sensible | 1,907 | 9 months ago | 10 | mit | Shell | |||||
An attempt at saner Bash defaults | ||||||||||
Argcomplete | 1,205 | 1,412 | 417 | 13 days ago | 101 | January 03, 2022 | 52 | apache-2.0 | Python | |
Python and tab completion, better together. | ||||||||||
Yori | 1,137 | 6 days ago | 17 | mit | C | |||||
Yori is a CMD replacement shell that supports backquotes, job control, and improves tab completion, file matching, aliases, command history, and more. | ||||||||||
Gradle Completion | 935 | 2 months ago | 54 | mit | Shell | |||||
Gradle tab completion for bash and zsh | ||||||||||
Fzf | 725 | a year ago | 26 | mit | Shell | |||||
Ef-🐟-ient fish keybindings for fzf | ||||||||||
Docopt.rs | 724 | 1,454 | 353 | 2 years ago | 87 | March 12, 2021 | 49 | other | Rust | |
Docopt for Rust (command line argument parser). | ||||||||||
Cmd2 | 533 | 416 | 94 | 25 days ago | 127 | April 13, 2022 | 15 | mit | Python | |
cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python |
shtab
processes an argparse.ArgumentParser
object to generate a
tab completion script for your shellbash
zsh
tcsh
--say={hello,goodbye}
)--file={*.txt}
)Table of Contents
Choose one of:
pip install shtab
, orconda install -c conda-forge shtab
See operating system-specific instructions in the docs.
There are two ways of using shtab
:
shtab
's own CLI interface for external applicationsshtab your_cli_app.your_parser_object
your_cli_app --print-completion {bash,zsh}
your_cli_app completion {bash,zsh}
See the docs for usage examples.
Not working? Check out frequently asked questions.
<TAB>
is pressed (slow and
has side-effects)bash
completion<TAB>
is pressed (slow and
has side-effects)zsh
completionargparse
Please do open issues & pull requests! Some ideas:
fish
powershell
See CONTRIBUTING.md for more guidance.