From deee0c61eda2a897dc25faa21a2828611d5748e9 Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Wed, 10 Sep 2025 18:39:35 -0600 Subject: [PATCH] Update command examples for agent-task create Improves the help text for the 'gh agent-task create' command by clarifying the editor usage example and adding an example for using a file as a template. --- pkg/cmd/agent-task/create/create.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/cmd/agent-task/create/create.go b/pkg/cmd/agent-task/create/create.go index 6ebbbc938..08c1f8c02 100644 --- a/pkg/cmd/agent-task/create/create.go +++ b/pkg/cmd/agent-task/create/create.go @@ -76,9 +76,12 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co # Create a task with problem statement from stdin $ echo "build me a new app" | gh agent-task create -F - - # Create a task with an editor prompt (interactive) + # Create a task with an editor $ gh agent-task create + # Create a task with an editor and a file as a template + $ gh agent-task create -F task-desc.md + # Select a different base branch for the PR $ gh agent-task create "fix errors" --base branch `),