From 5e259cafc87c96bbe6ab6c4a498099c1ffef0fac Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 19 Apr 2026 16:31:25 +0300 Subject: feat: replace fish integration files with built-in fish subcommand (task u6) Add `foostore fish` subcommand that prints the complete fish shell integration script (tab completions for foostore + the ge wrapper function) to stdout so users can source it with `foostore fish | source`. Remove install-fish.sh, FISH_INTEGRATION.md, and completions/ directory. Update CLAUDE.md and README.md to document the new workflow. Co-Authored-By: Claude Sonnet 4.6 --- internal/cli/cli_dispatch.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal/cli/cli_dispatch.go') diff --git a/internal/cli/cli_dispatch.go b/internal/cli/cli_dispatch.go index ef23cd5..d7f73f3 100644 --- a/internal/cli/cli_dispatch.go +++ b/internal/cli/cli_dispatch.go @@ -191,6 +191,10 @@ func (c *CLI) dispatchSimple(ctx context.Context, argv []string, cmd string) (in fmt.Println(name) } return 0, "", true + case "fish": + // Print the fish shell integration script to stdout so users can source it: + // foostore fish | source + return c.cmdFish(os.Stdout), "", true case "help": printHelp() return 0, "", true -- cgit v1.2.3