12 ms·
> Hub, the previous Github CLI, was written in Go too, so I don't think this is much of a surprise. Hub was originally a collection of Ruby scripts for ±3 year
by guessmyname 7y ago
> Hub, the previous Github CLI, was written in Go too, so I don't think this is much of a surprise.
Hub was originally a collection of Ruby scripts for ±3 years [1]. They later refactored the code to use Go:
• Initial commit on Dec 5, 2009 was 100% Ruby code [2]
• @jingweno started a refactoring using Go on Apr 8, 2013 [3][4]
• The Go rewrite was merged to master on May 23, 2013 [5]
[1] https://mislav.net/2020/01/github-cli/ https://mislav.net/2020/01/github-cli/
[2] https://github.com/github/hub/tree/de9bfa2103ee81a547d4fc598a91a3ec06536b0e https://github.com/github/hub/tree/de9bfa2103ee81a547d4fc598...
[3] https://github.com/github/hub/commit/d5615fcb6f9c983fbf5d1297700a26531ddf1173 https://github.com/github/hub/commit/d5615fcb6f9c983fbf5d129...
[4] https://owenou.com/fast-github-command-line-client-written-in-go/ https://owenou.com/fast-github-command-line-client-written-i...
[5] https://github.com/github/hub/tree/0df403f14805d4962ee3adb228f5e52f06ccdfb9 https://github.com/github/hub/tree/0df403f14805d4962ee3adb22...
- fwip 7y ago"Was written," not "was initially written." Edit: I see you've edited your comment; I'm leaving this here as-is.