From 1433f7a13ede0c819ec4f8fd4027ad3df8daa94f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 5 Jun 2026 10:26:16 +0300 Subject: Add 'ask edit' subcommand and collapse multi-line task descriptions - ask edit opens $EDITOR and creates a task from the (multi-line) content, reusing the shared internal/editor package - collapse newlines in list output and fish completion so multi-line descriptions render on one line and don't break completion Bump version to 0.40.0 Amp-Thread-ID: https://ampcode.com/threads/T-019e96a1-9c8e-73d6-95b4-b55cb12cc762 Co-authored-by: Amp --- internal/askcli/dispatch.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/askcli/dispatch.go') diff --git a/internal/askcli/dispatch.go b/internal/askcli/dispatch.go index 81b8944..924ca67 100644 --- a/internal/askcli/dispatch.go +++ b/internal/askcli/dispatch.go @@ -80,6 +80,7 @@ func (d *Dispatcher) help(w io.Writer) (int, error) { _, _ = io.WriteString(w, " ask no-agent Alias for ask na\n") _, _ = io.WriteString(w, "\nSubcommands:\n") _, _ = io.WriteString(w, " ask add [mods...] [depends:,...] Create a new task and print created task \n") + _, _ = io.WriteString(w, " ask edit Open $EDITOR and create a task from its content\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 completed List completed tasks\n") -- cgit v1.2.3