Hacker News new | ask | show | jobs
by pmdfgy 472 days ago
You did a really great job describing the project and documenting it in the README. Congrats. The project looks super clean and professional.

That being said, TBH I don't see any real scenario where I would "prototype a CLI". Unlike a GUI where elements can be placed in some places vs others, a CLI is a CLI.

For any developer, it would probably take less time to write it directly using one of the libraries listed here : https://bloomberg.github.io/stricli/blog/intro (TS/JS) or https://github.com/spf13/cobra (Go) with stub implementations for commands.

The main problem for me is that defining the CLI in a JSON file lacks all the flexibility of code (reusability, etc.).

1 comments

That makes sense! Thank you for the feedback! :)