From 23e9ab91c1e18f889eac4c0c5d5fd9daaeff7f0d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 22 Mar 2026 19:47:52 +0200 Subject: Implement write subcommands: annotate, start, stop, done, priority, tag, modify, denotate --- internal/askcli/dispatch_test.go | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'internal/askcli/dispatch_test.go') diff --git a/internal/askcli/dispatch_test.go b/internal/askcli/dispatch_test.go index d2a4e52..0d06299 100644 --- a/internal/askcli/dispatch_test.go +++ b/internal/askcli/dispatch_test.go @@ -59,9 +59,17 @@ func TestDispatcher_LongHelp(t *testing.T) { } func TestDispatcher_AllSubcommandsReachExecutor(t *testing.T) { - subcommands := []string{"add", "list", "info", "annotate", "start", "stop", "done", "priority", "tag", "dep", "urgency", "modify", "denotate", "export"} + subcommands := []string{"add", "list", "info", "dep", "urgency", "export"} subcommandArgs := map[string][]string{ - "delete": {"delete", "test-uuid"}, + "delete": {"delete", "test-uuid"}, + "denotate": {"denotate", "test-uuid", "text"}, + "modify": {"modify", "test-uuid", "priority:H"}, + "annotate": {"annotate", "test-uuid", "note"}, + "start": {"start", "test-uuid"}, + "stop": {"stop", "test-uuid"}, + "done": {"done", "test-uuid"}, + "priority": {"priority", "test-uuid", "H"}, + "tag": {"tag", "test-uuid", "+cli"}, } for _, sub := range subcommands { var stdout, stderr bytes.Buffer -- cgit v1.2.3