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.
This commit is contained in:
Kynan Ware 2025-10-31 16:18:10 -06:00
parent 5d17666a69
commit 44653c5aeb

View file

@ -104,6 +104,9 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co
# Select a different base branch for the PR
$ gh agent-task create "fix errors" --base branch
# Create a task using the custom agent defined in '.github/agents/my-agent.md'
$ gh agent-task create "build me a new app" --custom-agent my-agent
`),
}