🎯 Goal
Add shell completion command support (eko completion [bash|zsh|fish|powershell]) so users can enjoy TAB completion for subcommands and flags.
💡 Expected Usage
# Generate completion script for Zsh
eko completion zsh > ~/.zsh/completion/_eko
🛠️ Implementation Steps
- Create
cmd/completion.go.
- Utilize Cobra's built-in
GenBashCompletion, GenZshCompletion, GenFishCompletion, and GenPowerShellCompletion methods.
- Document shell installation instructions in the command
Long description.
- Add unit test in
cmd/commands_test.go.
📖 See full details in GOOD_FIRST_ISSUES.md — Issue #7
🌟 Great for first-time contributors! Read CONTRIBUTING.md to get started.
🎯 Goal
Add shell completion command support (
eko completion [bash|zsh|fish|powershell]) so users can enjoy TAB completion for subcommands and flags.💡 Expected Usage
🛠️ Implementation Steps
cmd/completion.go.GenBashCompletion,GenZshCompletion,GenFishCompletion, andGenPowerShellCompletionmethods.Longdescription.cmd/commands_test.go.