A Zsh plugin that automatically generates shell completion functions by parsing getopt-style help texts from commands.
zsh-completion-generator is a Zsh plugin that automatically creates shell completion functions by parsing the help text output of command-line programs. It solves the problem of manually writing and maintaining completion scripts, which can be tedious and prone to breaking when software updates its command-line interface.
Zsh users and shell enthusiasts who frequently use CLI tools and want to enhance their terminal experience with automated, up-to-date tab completions without manual scripting.
Developers choose this plugin because it automates a repetitive task, reduces maintenance overhead, and dynamically adapts to CLI changes, offering a lightweight and non-intrusive way to improve shell productivity.
Plugin that generates completion functions automatically from getopt-style help texts
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Generates completion functions by analyzing getopt-style help texts, automating the tedious process of manual script writing for many common commands.
Does not override existing completion functions, ensuring that manually written or better implementations are preserved, as stated in the README's philosophy.
Provides a gencomp function for interactive generation and allows customization via environment variables like GENCOMPL_PY for Python interpreters and GENCOMPL_FPATH for completion folders.
Operates on a best-effort basis, reducing maintenance by automatically adapting to CLI changes without manual intervention, as per the motivation section.
The README admits it's 'not guaranteed to work in all cases,' making it unreliable for commands with unconventional help formats or complex options.
Requires a Python interpreter (customizable via GENCOMPL_PY), adding an external dependency that might not be present in minimal or restricted shell environments.
Installation involves sourcing scripts before compinit in .zshrc and configuring styles or variables, which can be error-prone for casual users compared to plug-and-play plugins.