fix(cli): attach org option to task create (#19554)

Attaches the org context options to the exp task create cmd
This commit is contained in:
Cian Johnston
2025-08-26 19:42:02 +01:00
committed by GitHub
parent f0cf0adcc8
commit 8083d9d5c8
2 changed files with 57 additions and 20 deletions
+3 -1
View File
@@ -23,7 +23,7 @@ func (r *RootCmd) taskCreate() *serpent.Command {
taskInput string
)
return &serpent.Command{
cmd := &serpent.Command{
Use: "create [template]",
Short: "Create an experimental task",
Middleware: serpent.Chain(
@@ -123,4 +123,6 @@ func (r *RootCmd) taskCreate() *serpent.Command {
return nil
},
}
orgContext.AttachOptions(cmd)
return cmd
}