From 2d35eeb40eee8beed7163f41afab279bce2976ef Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 27 Mar 2026 11:41:41 +0200 Subject: Implement command registry for askcli commands --- internal/askcli/command_fish.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'internal/askcli/command_fish.go') diff --git a/internal/askcli/command_fish.go b/internal/askcli/command_fish.go index 3d3e709..f4ca9e0 100644 --- a/internal/askcli/command_fish.go +++ b/internal/askcli/command_fish.go @@ -1,12 +1,14 @@ package askcli import ( + "context" "fmt" "io" "os" ) -func (d *Dispatcher) handleFish(args []string, stdout, stderr io.Writer) (int, error) { +func (d *Dispatcher) handleFish(ctx context.Context, args []string, stdout, stderr io.Writer) (int, error) { + _ = ctx if len(args) != 1 { fmt.Fprintln(stderr, "usage: ask fish") return 1, nil -- cgit v1.2.3