News for hackers. Stuff that matters.
Re:Diving into Go by building a CLI application by Fiahil on Wednesday May 27, 2020 @03:33AM (#23320411)
I've found Rust to be more interesting for CLIs than go. Especially when using https://clap.rs
Re:Diving into Go by building a CLI application by rb808 on Wednesday May 27, 2020 @10:25AM (#23323790)
clap looks cool, thanks.
Re:Diving into Go by building a CLI application by masklinn on Wednesday May 27, 2020 @11:12AM (#23324541)
Check out structopt. It's a declarative layer atop clap. It's a bit polarising, but if you don't mind the "magic" (which you probably don't if you think clap looks nice) it's amazing.
Re:Diving into Go by building a CLI application by Fiahil on Thursday May 28, 2020 @03:53AM (#23334645)
It's being integrated into clap v3 :)