Daily Shaarli

All links of one day in a single page.

October 26, 2022

Fetching all open GitHub issues & comments as Markdown files using "gh" CLI & jq

A useful script to work offline, in the train, to run in a local git clone of the target repository :

gh issue list --limit 100 --json number --jq .[].number | while read nb; do
    gh issue view $nb > $nb.md
    gh issue view $nb --comments >> $nb.md
done