summaryrefslogtreecommitdiff
path: root/internal/askcli/commands_registry.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/askcli/commands_registry.go')
-rw-r--r--internal/askcli/commands_registry.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/askcli/commands_registry.go b/internal/askcli/commands_registry.go
index c755560..31773d5 100644
--- a/internal/askcli/commands_registry.go
+++ b/internal/askcli/commands_registry.go
@@ -207,6 +207,12 @@ func init() {
includeInCompletion: true,
})
commandRegistry.add(commandEntry{
+ name: "edit",
+ description: "Create a task from $EDITOR content",
+ handler: wrapSimpleCommand((*Dispatcher).handleEdit),
+ includeInCompletion: true,
+ })
+ commandRegistry.add(commandEntry{
name: "fish",
description: "Emit Fish shell completion script",
handler: wrapSimpleCommand((*Dispatcher).handleFish),