From 751c82f337f9dc4756846cf7c547d31668d6587d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 29 Apr 2026 16:02:24 +0300 Subject: Short-circuit `foostore fish` to skip backend init The fish subcommand prints a purely static shell-integration script and needs no backend, cipher, store, git, or shell. Previously cli.New ran in main() before dispatch, triggering the KeePass Argon2 KDF and adding ~1.8s to every interactive fish shell startup that sources the script. Export FishIntegrationScript and dispatch `fish` directly from main() before constructing the CLI. Local timing: `foostore fish` drops from ~1.834s to ~0.003s. Bump version to v0.8.1. Amp-Thread-ID: https://ampcode.com/threads/T-019dd950-11ef-77aa-bb92-810f22601023 Co-authored-by: Amp --- internal/version/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/version/version.go') diff --git a/internal/version/version.go b/internal/version/version.go index d019841..0a0a258 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -2,4 +2,4 @@ package version // Version is the current release version of foostore. -const Version = "v0.7.0" +const Version = "v0.8.1" -- cgit v1.2.3