Re:What is the best language/framework to write CLIs in 2018?
by stevekemp on Thursday May 03, 2018 @05:15AM
(#16984451)
It depends largely on what you're doing, and where it will be running.
If you're writing something that takes a bunch of flags, then parses text, I'd use perl. If you're using somethign that must be easily installed on 100+ hosts then perhaps a binary compiled from go - because that's easy to install.
For frameworks? That's probably secondary to the actual core of your application. If you're writing a complex UI with (n)curses then that's more interesting and complex than calling getopt a few times..
If you're writing something that takes a bunch of flags, then parses text, I'd use perl. If you're using somethign that must be easily installed on 100+ hosts then perhaps a binary compiled from go - because that's easy to install.
For frameworks? That's probably secondary to the actual core of your application. If you're writing a complex UI with (n)curses then that's more interesting and complex than calling getopt a few times..