5 points · by dgtlntv · 1y ago · 2 comments
To make designing, prototyping and user testing CLIs easier for me in the future, and hopefully to help other designers who are not as comfortable with coding, I have developed this CLI prototyping tool.
I would be very interested to hear if this tool would be useful to other people here and if there is anything I could improve about it! :)
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.).