DEV Community

Discussion on: 14 great tips to make amazing CLI applications

Collapse
 
jeremyf profile image
Jeremy Friesen

What about you? Do you write CLI tools? If so, what tricks have you been using? Are you into TUIs and interactivity?

I have written a handful of them in Ruby and submitted a few to a Go project.

One thing to consider is how your CLI app will leverage piping data. I settled on a nice event loop in Ruby; here's the CLI app's help and handler

Collapse
 
wesen profile image
Manuel Odendahl

A very good point. Especially if you are piping big amounts of data, it is important to have proper buffer and input handling.