What language(s) are you comfortable using?
Batteries Included CLI Framework
11–14 of 14 posts
rust, python and typescript mostly
Re: Batteries Included CLI Framework
#12There are some options but it depends on your language/stack. If your stack is Go, you can try cobra-cli, but I think you will need to wire auth yourself. For Node, Oclif for sure! Covers plugins, auto-update, and some telemetry hooks... I think the closest thing that you are looking for.
the telemetry hooks and the rest is great but i'm wondering why there isn't a service that takes care of all of this. seems to be a problem that everyone building CLI has
Re: Batteries Included CLI Framework
#13I've noticed that the TypeScript ecosystem around CLIs is fragmented, and for that reason (and because I love type-safe code), I've built parsh.
It's extensible by design, and you can test single commands atomically.
I think there's a good opportunity for it to become the Next.js/Vercel of CLIs.
Re: Batteries Included CLI Framework
#14Typer.
That's a good framework and I like that the creator took the same design choices as the FastAPI framework.
Although I think a type-safe language is a better fit for CLIs, to let coding agents iterate faster and have less runtime bugs (help messages not updated, unknown flags, etc.)