Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What is a “CLI framework”?


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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: