1
0
mirror of synced 2026-01-08 03:01:54 -05:00

Merge pull request #43654 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot
2023-10-02 08:27:04 -07:00
committed by GitHub

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"
```
### 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
gh pr list --json number,title,mergeStateStatus