Carapace-bin is a command-line completion utility that provides contextual suggestions for commands across multiple shell environments. Developed in Go, it centralizes completion definitions to reduce dependence on shell-specific scripts. The application suggests command arguments, flags, subcommands, file paths, and contextually relevant values. It supports numerous shells, including Bash, Zsh, Fish, PowerShell, Nushell, Elvish, and Xonsh. Users can extend its capabilities through custom completion specifications and integration with existing shell completion systems. Its shared completion architecture helps maintain a consistent terminal experience across different environments. The utility simplifies command discovery, reduces typing errors, and improves productivity when working with complex command-line applications.
Features
- Context-aware completion of command arguments, flags, subcommands, and values
- Compatibility with numerous POSIX and non-POSIX shell environments
- Extensive collection of predefined completions for command-line applications
- Custom completion specifications for extending support to additional commands
- Integration with existing shell completion systems through completion bridges
- Centralized completion architecture for consistent behavior across terminal environments