A completion daemon for bash, fish, and zsh that automatically generates shell completions from --help output.
Cod is a completion daemon for bash, fish, and zsh that automatically generates shell auto-completions. It solves the problem of manually writing or finding completion scripts by detecting when commands are run with the `--help` flag, parsing their output, and creating completions on-the-fly.
Developers and system administrators who use bash, fish, or zsh shells and want to enhance their command-line productivity with automated completions without manual setup.
Developers choose Cod because it automates completion generation from existing `--help` outputs, supports multiple shells, and reduces the overhead of maintaining custom completion scripts, making it a seamless addition to any shell environment.
cod is a completion daemon for bash/fish/zsh
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Detects when commands are run with --help and prompts users to generate completions, eliminating the need for manual script writing.
Works with bash, fish, and zsh, with clear setup instructions for each, making it adaptable to various shell environments.
Includes a parser optimized for Python argparse library output, improving accuracy for many common CLI tools.
Allows users to specify binaries to ignore or trust via config files, providing fine-grained control over the learning process.
Requires manual editing of shell init scripts and additional steps like initializing zsh completion system, which can be error-prone.
Relies on well-formatted --help outputs; non-standard formats or missing subcommands may result in incomplete or incorrect completions.
Explicitly does not support older shell versions, such as the default bash on macOS, restricting cross-platform usability.
Runs commands with the user's environment and permissions, posing risks if untrusted binaries are learned without sandboxing.