feat: add shell-completions subcommand#76
Merged
lifeizhou-ap merged 4 commits intoblock:mainfrom Sep 25, 2024
Merged
Conversation
811ed30 to
bfd19f3
Compare
229ffbf to
131e010
Compare
131e010 to
1fdd189
Compare
michaelneale
approved these changes
Sep 25, 2024
lifeizhou-ap
added a commit
that referenced
this pull request
Sep 25, 2024
lily-de
pushed a commit
that referenced
this pull request
Oct 7, 2024
ahau-square
pushed a commit
that referenced
this pull request
May 2, 2025
cbruyndoncx
pushed a commit
to cbruyndoncx/goose
that referenced
this pull request
Jul 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
extracted from an experimental 'daemon/lsp mode' branch which may overhaul how session management is handled. at the very least, landing this would be a good starting point to enable discoverability of commands and adoption.
shell-completions --installsupport forbash,fish, orzsh(appends to standard config files)shell-completions --generatesupport forbash,fish, orzsh(custom location with install text)goose session resume <session_name>this can only be tested via an entrypoint (i.e. installed not via
uv)Usage
This will install to the set user-defined
$SHELLgoose shell-completions --installNote: For
bashandzsh, the user will need tosource {rc_file}before it can take effect.Alternatively, you can generate the completions and manually install run them yourself
Example installations with autocompletion per
$SHELLGuard for exclusive options
--generateor--installonlyAutocomplete for session (via
fish;goose session resume a<tab>)