Skip to content

feat: add shell completions command#12

Merged
airscripts merged 1 commit intomainfrom
feat/completions
Apr 21, 2026
Merged

feat: add shell completions command#12
airscripts merged 1 commit intomainfrom
feat/completions

Conversation

@clawdeeo
Copy link
Copy Markdown
Collaborator

Changes

  • Add clap_complete dependency (v4.4.5)
  • Add completions subcommand to generate shell completions
  • Supported shells: bash, zsh, fish, powershell, elvish

Usage

# Bash
gitclaw completions bash > /usr/share/bash-completion/completions/gitclaw

# Zsh
gitclaw completions zsh > /usr/local/share/zsh/site-functions/_gitclaw

# Fish
gitclaw completions fish > ~/.config/fish/completions/gitclaw.fish

Part of v0.2.0 phase 1 (shell completions).

- Add `clap_complete` dependency
- Add `completions` subcommand to generate shell completions
- Supported shells: bash, zsh, fish, powershell, elvish
- Usage: gitclaw completions <shell>

Part of v0.2.0 phase 1 (shell completions).
@airscripts airscripts merged commit df586e7 into main Apr 21, 2026
8 checks passed
@clawdeeo clawdeeo deleted the feat/completions branch April 22, 2026 10:35
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