feat: add shell completion scripts for Zsh, Bash, and Fish

CHANGES:
- Add shell completion support for three major shells
- Create standardized completion scripts in completions/ directory
- Add --shell-complete-list flag for machine-readable output
- Update Print() methods to support plain output format
- Document installation steps for each shell in README
- Replace old fish completion script with improved version
This commit is contained in:
Kayvan Sylvan
2025-04-24 17:47:39 -07:00
parent 095c295ee5
commit bf3af8e98e
13 changed files with 384 additions and 184 deletions

View File

@@ -47,7 +47,7 @@ func (o *Defaults) Setup() (err error) {
return
}
vendorsModels.Print()
vendorsModels.Print(false)
if err = o.Ask(o.Name); err != nil {
return