diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-27 11:41:41 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-27 11:41:41 +0200 |
| commit | 2d35eeb40eee8beed7163f41afab279bce2976ef (patch) | |
| tree | fee5de2c646826cba17aab79f8c57c408c96eb71 /internal/askcli/command_fish.go | |
| parent | f57ccb885d20c48e1dae65b8ad5c46375b9a11a9 (diff) | |
Implement command registry for askcli commands
Diffstat (limited to 'internal/askcli/command_fish.go')
| -rw-r--r-- | internal/askcli/command_fish.go | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
