🎯 Goal: - When the non-interactive CLI command is invoked, we should show some friendly spinner and message until the code is generated. When it's ready, it could be nice to show some nice message like "All set, the code is ready for you with tons of good practices inside"
Here is how our UI looks like (no emoji, no text):
Try it yourself with this command:
npx @practica/create-node-app immediate
Here how cool it could be (taken from nx UI):
🤔 Things to consider:
There are plenty of tools that can achieve this easily like this one
It should be done in the code under ~/src/code-generator/entry-points/non-interactive-cli.tsx. You may just await on the main function that generates code, while we await we can show spinner and then a success message
🎯 Goal: - When the non-interactive CLI command is invoked, we should show some friendly spinner and message until the code is generated. When it's ready, it could be nice to show some nice message like "All set, the code is ready for you with tons of good practices inside"
Here is how our UI looks like (no emoji, no text):![image](https://user-images.githubusercontent.com/8571500/166426033-af679ba5-0169-4acd-a98c-4987a618a309.png)
Try it yourself with this command:
Here how cool it could be (taken from nx UI):
🤔 Things to consider: