Module shell_completions

Module shell_completions 

Source
Expand description

Shell completion generation for cqlsh-rs CLI arguments.

Generates completion scripts for bash, zsh, fish, elvish, and PowerShell using clap_complete. Usage:

# Generate bash completions
cqlsh-rs --completions bash > /etc/bash_completion.d/cqlsh-rs

# Generate zsh completions
cqlsh-rs --completions zsh > ~/.zfunc/_cqlsh-rs

# Generate fish completions
cqlsh-rs --completions fish > ~/.config/fish/completions/cqlsh-rs.fish

Functionsยง

generate
Generate shell completion script for the given shell and write to stdout.