Skip to content

Shell completions#35

Open
siddarth2810 wants to merge 3 commits intoSiddhant-K-code:mainfrom
siddarth2810:shell-completions
Open

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

Conversation

@siddarth2810
Copy link

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.
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)

1 participant