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.
This commit is contained in:
parent
c0a5b9aced
commit
deee0c61ed
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
`),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue