Is there an existing tool which will do something like this:
git-cat https://github.com/AbhishekSinhaCoder/Collection-of-Useful-Scripts
then it will run cat on each file in the repo?
Something like this works but it doesn't separate the files:
curl -s -H "Accept:application/vnd.github.v3.raw" https://api.github.com/repos/AbhishekSinhaCoder/Collection-of-Useful-Scripts/contents/ |
jq .[].download_url -r |
xargs curl 2>/dev/null |
bat
cat
on each file, then they'll all be concatenated. However, your answer indicates that you don't want that. What behavior do you want? – bk2204 Nov 12 '20 at 02:40bat
and when I quit out of the bat pager then it will show the next file – jaksco Nov 13 '20 at 03:07