Looking for a GitHub cli tool
And no, I'm not talking about
git. I'm looking for a tool that I can use in scripts to automate non-git tasks on GitHub such as creating new repositories, drafting releases, uploading assets to a release, etc.
I started dipping my toes into
gh, GitHub's official cli tool, but when I created a repository it immediately cloned it, which is not what I want. I know I can just
rm -rf the repo but ideally the tool I use would do only what I tell it and nothing more.
Reading the docs for
hub, it might do what I want, although I have some reservations about the project after reading this post written by the developer: https://mislav.net/2020/01/github-cli/
I've also come across git-hub, which doesn't support creating repos AFAICT, and git-spindle, which doesn't support uploading assets.
Are there any other command line GitHub clients I should consider?
Which one do you use? What's your experience with it been like?
I know that you had a bad experience with
gh, but I really do think it is the best one.
I agree. OP I might recommend just forking
ghto remove that one feature (or making a PR to add a flag for the functionality you want).
Thanks, I appreciate your and @tvl's recommendations. :)
ghanother shot, though, and kept tripping over weird behavior. After trying
hub, it does what I want and seems much nicer. So I'm gonna go with that for now.
Glad you found something that works!