⌨️ completion
Generate shell autocompletion scripts for geol.
🖥️ Usage
geol completion [shell] [options]
📄 Description
The completion command generates shell completion scripts for geol.
Shell completion improves the command-line experience by providing:
- Command suggestions
- Option completion
- Faster command entry
- Reduced typing errors
Generated scripts can be loaded into your shell to enable tab completion.
⚙️ Global Options
The following option is available for this command:
-l, --log-level
Supported values:
debuginfo(default)warnerror
Example:
geol completion bash --log-level debug
📋 Available Subcommands
| Subcommand | Description |
|---|---|
bash | Generate a Bash completion script |
fish | Generate a Fish completion script |
powershell | Generate a PowerShell completion script |
zsh | Generate a Zsh completion script |
🐚 Generate Bash Completion
Generate an autocompletion script for Bash:
geol completion bash
🐟 Generate Fish Completion
Generate an autocompletion script for Fish:
geol completion fish
⚡ Generate PowerShell Completion
Generate an autocompletion script for PowerShell:
geol completion powershell
💎 Generate Zsh Completion
Generate an autocompletion script for Zsh:
geol completion zsh
💡 Example
Display a Zsh completion script:
geol completion zsh
The generated output can then be saved and loaded by your shell according to your local configuration.
Run the command for your preferred shell and follow the shell-specific instructions provided by the generated output.
✅ Common Use Cases
Use this command to:
- Enable shell autocompletion
- Improve CLI productivity
- Reduce typing errors
- Discover commands and options more easily