summaryrefslogtreecommitdiff
path: root/internal/askcli/commands_registry.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-06 09:02:07 +0300
committerPaul Buetow <paul@buetow.org>2026-06-06 09:02:07 +0300
commitdc17b7469c2055961892bbb3175d4ab0fb1d1180 (patch)
tree541bf267994875abeedce0fddf399c95174d5fba /internal/askcli/commands_registry.go
parent1433f7a13ede0c819ec4f8fd4027ad3df8daa94f (diff)
Add 'ask edit ID' to edit task description in $EDITOR; bump to 0.41.0main
Amp-Thread-ID: https://ampcode.com/threads/T-019e9b82-6ba0-77a4-b4a0-5c2cbf9bf39f Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'internal/askcli/commands_registry.go')
-rw-r--r--internal/askcli/commands_registry.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/askcli/commands_registry.go b/internal/askcli/commands_registry.go
index 31773d5..2c07cac 100644
--- a/internal/askcli/commands_registry.go
+++ b/internal/askcli/commands_registry.go
@@ -208,9 +208,10 @@ func init() {
})
commandRegistry.add(commandEntry{
name: "edit",
- description: "Create a task from $EDITOR content",
+ description: "Edit a task description in $EDITOR (or create one)",
handler: wrapSimpleCommand((*Dispatcher).handleEdit),
includeInCompletion: true,
+ singleSelector: true,
})
commandRegistry.add(commandEntry{
name: "fish",