Update cheatsheets

This commit is contained in:
ivuorinen
2025-09-30 00:19:36 +00:00
parent 883e910225
commit 4cdd94d474
8 changed files with 140 additions and 8 deletions

29
tldr/gh-agent-task Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# gh agent-task
> Manage GitHub agent tasks.
> More information: <https://cli.github.com/manual/gh_agent-task>.
- List the most recent agent tasks:
`gh {{[agent|agent-task]}} list`
- Create a new agent task for the current repository:
`gh {{[agent|agent-task]}} create "{{Improve the performance of the data processing pipeline}}"`
- Create a new agent task from a file:
`gh {{[agent|agent-task]}} create {{[-F|--from-file]}} {{path/to/file}}`
- View details about a specific agent task:
`gh {{[agent|agent-task]}} view {{session_id|pr_number|url|branch}}`
- Show the log of a specific agent task:
`gh {{[agent|agent-task]}} view --log {{session_id|pr_number|url|branch}}`