Skip to content

Shell completions#35

Closed
siddarth2810 wants to merge 3 commits into
Siddhant-K-code:mainfrom
siddarth2810:shell-completions
Closed

Shell completions#35
siddarth2810 wants to merge 3 commits into
Siddhant-K-code:mainfrom
siddarth2810:shell-completions

Conversation

@siddarth2810

@siddarth2810 siddarth2810 commented Feb 19, 2026

Copy link
Copy Markdown

What this PR does:
The PR adds distill completion command that generates shell completions for Bash, Zsh, Fish, and PowerShell.

Which issue(s) this PR fixes:
Fixes: #26

Checklist

  • cmd/completion.go - Completion command
  • README section with installation instructions per shell
  • GoReleaser: include completion scripts in release archives

Provide `distill completion <shell>` to generate completion scripts using Cobra's
built-in generators.
Add `scripts/completions.sh` script to generate shell completion scripts and
configure goreleaser to run it and bundle the output.
@Siddhant-K-code

Copy link
Copy Markdown
Owner

Closing — cmd/completion.go was superseded by #68 which is already merged to main.

The .goreleaser.yml and scripts/completions.sh additions (completion scripts in release archives) are worth keeping and will be picked up in a follow-up commit.

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.

[Feature] Shell completions (Bash, Zsh, Fish, PowerShell)

2 participants