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:
parent
5d17666a69
commit
44653c5aeb
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
`),
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue