summaryrefslogtreecommitdiff
path: root/internal/askcli/dispatch.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/askcli/dispatch.go')
-rw-r--r--internal/askcli/dispatch.go42
1 files changed, 21 insertions, 21 deletions
diff --git a/internal/askcli/dispatch.go b/internal/askcli/dispatch.go
index f714bc1..4612555 100644
--- a/internal/askcli/dispatch.go
+++ b/internal/askcli/dispatch.go
@@ -89,27 +89,27 @@ func (d *Dispatcher) Dispatch(ctx context.Context, args []string, stdin io.Reade
}
func (d *Dispatcher) help(w io.Writer) (int, error) {
- io.WriteString(w, "ask - task management CLI\n")
- io.WriteString(w, "\nSubcommands:\n")
- io.WriteString(w, " ask add [mods...] [depends:<id|uuid>,...] <description...> Create a new task and print its ID\n")
- io.WriteString(w, " ask list [filters] List active tasks (default)\n")
- io.WriteString(w, " ask ready List READY tasks (not blocked)\n")
- io.WriteString(w, " ask all [filters] List all tasks including completed/deleted\n")
- io.WriteString(w, " ask info [id|uuid] Show task details or current started task\n")
- io.WriteString(w, " ask annotate <id|uuid> \"note\" Add annotation to task\n")
- io.WriteString(w, " ask start <id|uuid> Start working on task\n")
- io.WriteString(w, " ask stop <id|uuid> Stop work on a task\n")
- io.WriteString(w, " ask done <id|uuid> Mark task complete\n")
- io.WriteString(w, " ask priority <id|uuid> <P> Set priority (H/M/L)\n")
- io.WriteString(w, " ask tag <id|uuid> +/-<tag> Add or remove tag\n")
- io.WriteString(w, " ask dep add <id|uuid> <dep> Add dependency\n")
- io.WriteString(w, " ask dep rm <id|uuid> <dep> Remove dependency\n")
- io.WriteString(w, " ask dep list <id|uuid> List dependencies\n")
- io.WriteString(w, " ask urgency List tasks sorted by urgency\n")
- io.WriteString(w, " ask modify <id|uuid> <args...> Modify task fields\n")
- io.WriteString(w, " ask denotate <id|uuid> \"text\" Remove annotation\n")
- io.WriteString(w, " ask delete <id|uuid> Delete a task\n")
- io.WriteString(w, " ask fish Emit Fish shell completion script\n")
+ _, _ = io.WriteString(w, "ask - task management CLI\n")
+ _, _ = io.WriteString(w, "\nSubcommands:\n")
+ _, _ = io.WriteString(w, " ask add [mods...] [depends:<id|uuid>,...] <description...> Create a new task and print its ID\n")
+ _, _ = io.WriteString(w, " ask list [filters] List active tasks (default)\n")
+ _, _ = io.WriteString(w, " ask ready List READY tasks (not blocked)\n")
+ _, _ = io.WriteString(w, " ask all [filters] List all tasks including completed/deleted\n")
+ _, _ = io.WriteString(w, " ask info [id|uuid] Show task details or current started task\n")
+ _, _ = io.WriteString(w, " ask annotate <id|uuid> \"note\" Add annotation to task\n")
+ _, _ = io.WriteString(w, " ask start <id|uuid> Start working on task\n")
+ _, _ = io.WriteString(w, " ask stop <id|uuid> Stop work on a task\n")
+ _, _ = io.WriteString(w, " ask done <id|uuid> Mark task complete\n")
+ _, _ = io.WriteString(w, " ask priority <id|uuid> <P> Set priority (H/M/L)\n")
+ _, _ = io.WriteString(w, " ask tag <id|uuid> +/-<tag> Add or remove tag\n")
+ _, _ = io.WriteString(w, " ask dep add <id|uuid> <dep> Add dependency\n")
+ _, _ = io.WriteString(w, " ask dep rm <id|uuid> <dep> Remove dependency\n")
+ _, _ = io.WriteString(w, " ask dep list <id|uuid> List dependencies\n")
+ _, _ = io.WriteString(w, " ask urgency List tasks sorted by urgency\n")
+ _, _ = io.WriteString(w, " ask modify <id|uuid> <args...> Modify task fields\n")
+ _, _ = io.WriteString(w, " ask denotate <id|uuid> \"text\" Remove annotation\n")
+ _, _ = io.WriteString(w, " ask delete <id|uuid> Delete a task\n")
+ _, _ = io.WriteString(w, " ask fish Emit Fish shell completion script\n")
return 0, nil
}