-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Description
Add zenii completions <shell> command to generate shell completion scripts for bash, zsh, fish, and PowerShell using clap's built-in clap_complete crate.
Files to modify
crates/zenii-cli/Cargo.toml— addclap_completedependencycrates/zenii-cli/src/main.rs— addCompletionssubcommand with shell argument
Acceptance criteria
-
zenii completions bashoutputs bash completion script -
zenii completions zshoutputs zsh completion script -
zenii completions fishoutputs fish completion script -
zenii completions powershelloutputs PowerShell completion script - Output can be piped to a file:
zenii completions bash > ~/.bash_completion.d/zenii
Difficulty: Medium (1-2 hours)
This project is written in Rust. See CONTRIBUTING.md for setup instructions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed