Skip to content

feat(cli): add shell completion for bash, zsh, and fish#208

Merged
DorianZheng merged 3 commits intoboxlite-ai:mainfrom
shayne-snap:feat/cli-completion
Feb 6, 2026
Merged

feat(cli): add shell completion for bash, zsh, and fish#208
DorianZheng merged 3 commits intoboxlite-ai:mainfrom
shayne-snap:feat/cli-completion

Conversation

@shayne-snap
Copy link
Copy Markdown
Contributor

@shayne-snap shayne-snap commented Feb 6, 2026

Info

issue: #35

Key Changes

  • Add hidden subcommand boxlite completion <bash|zsh|fish> using clap_complete
  • Add completion tests (exit success, non-empty output, subcommands present, invalid shell fails)

Testing

  • make test:cli
  • manually test ./target/debug/boxlite completion

shayne-snap and others added 3 commits February 6, 2026 10:16
- Add hidden subcommand `boxlite completion <bash|zsh|fish>` using clap_complete
- Add completion tests (exit success, non-empty output, subcommands present, invalid shell fails)

Co-authored-by: Cursor <[email protected]>
@shayne-snap shayne-snap marked this pull request as ready for review February 6, 2026 02:59
Copy link
Copy Markdown
Member

@DorianZheng DorianZheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome! Makes life easier. LGTM

@DorianZheng DorianZheng merged commit 8338ea6 into boxlite-ai:main Feb 6, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants