Hacker News new | ask | show | jobs
by whoisjuan 2108 days ago
Without a CLI you can't automate. (I guess you could, but it will be a pain in the ass)
2 comments

There was the option to use curl and the GitHub API, but the CLI wraps that very conveniently in the "api" subcommand.
Huh? Github actions have been around for over a year, and Github webhooks since I can't remember when.
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.
Yeah, and this is the correct way to automate anything relating to github. Their API is insane.
...unless you use their CLI wrapper over the API (as in this post) :)