top | item 44092731

(no title)

hotpocket777 | 9 months ago

What is a “CLI framework”?

discuss

order

sothatsit|9 months ago

It takes care of the CLI argument parsing, command routing, and help formatting.

I recently wrote a CLI manually, thinking, CLIs are so simple why would you need a framework? At the end of writing it, I had just ended up writing my own CLI framework anyway. It gets tedious without one, even though none of the things the framework does are particularly complicated.