Skip to content

Commit 44653c5

Browse files
committed
Add example for --custom-agent usage
Added a usage example to the help text demonstrating how to create a task with a custom agent using the --custom-agent flag.
1 parent 5d17666 commit 44653c5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pkg/cmd/agent-task/create/create.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co
104104
105105
# Select a different base branch for the PR
106106
$ gh agent-task create "fix errors" --base branch
107+
108+
# Create a task using the custom agent defined in '.github/agents/my-agent.md'
109+
$ gh agent-task create "build me a new app" --custom-agent my-agent
107110
`),
108111
}
109112

0 commit comments

Comments
 (0)