Integrating cli in a project #3881
-
I want to make a tool for a project to ease things like building it, fetching dependencies, and making releases, and a few other things, my goal is so that our CI that is very complex will be simplified and basically be few calls to this tool instead of the many things we have going on. This is a multi-repository project and I would like to use gh as a way to give me ease access to some GitHub functionality. Should I code my tool in GO leveraging gh as a library? Is this a possibility? Or should I avoid this and instead do my tool in any language and simply call gh when needed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for asking!
|
Beta Was this translation helpful? Give feedback.
Thanks for asking!
gh
is not intended for use as a library -- it wouldn't work too well and it will break as releases come out. Calling out togh
when needed is the way to go.