News for hackers. Stuff that matters.
Re:GitHub CLI 1.0 by whoisjuan on Thursday September 17, 2020 @10:44AM (#24505226)
Without a CLI you can't automate. (I guess you could, but it will be a pain in the ass)
Re:GitHub CLI 1.0 by bewuethr on Thursday September 17, 2020 @11:31AM (#24505871)
There was the option to use curl and the GitHub API, but the CLI wraps that very conveniently in the "api" subcommand.
Re:GitHub CLI 1.0 by azangru on Thursday September 17, 2020 @10:49AM (#24505300)
Huh? Github actions have been around for over a year, and Github webhooks since I can't remember when.
Re:GitHub CLI 1.0 by whoisjuan on Thursday September 17, 2020 @11:16AM (#24505657)
Not really sure what you're talking about. Not everything you automate on GitHub happens in the context of a CI pipeline like in GitHub Actions. There are many cases for small scripts where you just need to execute a couple of commands.
Re:GitHub CLI 1.0 by GormHouj on Thursday September 17, 2020 @11:02AM (#24505452)
Yeah, and this is the correct way to automate anything relating to github. Their API is insane.
Re:GitHub CLI 1.0 by hjdarnel on Thursday September 17, 2020 @11:04AM (#24505480)
...unless you use their CLI wrapper over the API (as in this post) :)