News for hackers. Stuff that matters.
Re:GitHub CLI 1.0 by Scarbutt on Thursday September 17, 2020 @12:24PM (#24506599)
And Golang is killing it for these kind of applications.
Re:GitHub CLI 1.0 by narwally on Thursday September 17, 2020 @03:43PM (#24509065)
I haven't done much beyond dip my toes in Golang so far, but I did start moving my blog over from Jekyll to Hugo last week; Man do I love just being able to install a single binary and then get to work. Python, Javascript, and Ruby have a lot of nice packages, but I always have to futz around with the language itself to use them effectively. It's probably a bit easier to get a project up and running in a scripting language, but any development time that is saved just gets passed on to the users as we have to install a ton of npm packages or try to fix our gem dependencies.
Re:GitHub CLI 1.0 by rhizome on Thursday September 17, 2020 @04:22PM (#24509509)
Are dependency problems with Hugo modules not possible?
Re:GitHub CLI 1.0 by narwally on Thursday September 17, 2020 @04:43PM (#24509741)
I'm sure there are, but I haven't needed to use any modules so far, so I have no perspective on what kind of challenges they present. But with Jekyll you could get into dependency issues just trying to go through the tutorial and launch a blank template of a site. You didn't need any extra functionality on top of Jekyll to begin to dealing with dependencies.
Re:GitHub CLI 1.0 by maxioatic on Thursday September 17, 2020 @08:30PM (#24511650)
I was wondering if this was written in Go, and specifically using the Cobra framework. I checked out the repo and it was!

Other common CLIs written with the same framework: kubectl, hugo, rclone (to name a few)

Really is a great option.