1
0
mirror of synced 2025-12-19 18:10:59 -05:00
This commit is contained in:
happy-spark
2023-10-03 00:01:15 +09:00
committed by GitHub
parent 082c50e280
commit 116c1a9ebc

View File

@@ -162,9 +162,9 @@ For example, to create an issue programmatically, specify the title and body:
gh issue create --title "My Title" --body "Issue description" gh issue create --title "My Title" --body "Issue description"
``` ```
### Fetching data programatically ### Fetching data programmatically
Many core commands support the `--json` flag for fetching data programatically. For example, to return a JSON object listing the number, title, and mergeability status of pull requests: Many core commands support the `--json` flag for fetching data programmatically. For example, to return a JSON object listing the number, title, and mergeability status of pull requests:
```shell ```shell
gh pr list --json number,title,mergeStateStatus gh pr list --json number,title,mergeStateStatus