Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 393 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 393 Bytes

GitHub CLI Examples

open_bugs.py lists the newest open issues labeled bug in a public GitHub repository by calling gh issue list --json from Python.

Run

Install GitHub CLI, run gh auth login, and then:

$ python open_bugs.py
$ python open_bugs.py realpython/reader

The script uses only the standard library and makes read-only calls.