I use Go and Cobra for my business’s CLI [0]. I like it. Go is pretty unmatched for CLIs.
Ask HN: What do you use to make CLIs?
11–15 of 15 posts
Re: Ask HN: What do you use to make CLIs?
#12Mostly go whenever shell scripts are not enough.
Check out the libraries from charm (charm.sh). They really make the command line glamorous!
Re: Ask HN: What do you use to make CLIs?
#13Sorry. Unless I'm missing something completely, I have to ask: 'Why would you bother to reinvent the wheel?'
If you want something like bash, just use bash. If you want a CLI in a GUI environment, just use 'terminal', or'xterm' or similar.
If you're talking about apps that run in a CLI, then the world is your oyster. Use whatever you need depending on what the app requires.
If you're talking about what language to use, then just use which ever language that you're comfortable with that can/will produce a text output.
Re: Ask HN: What do you use to make CLIs?
#1495% C (with occasional Windows quirks),
5% shell.
previously lots of perl
Re: Ask HN: What do you use to make CLIs?
#15mostly ruby or python, though I would like to explore ocaml more for the purpose