DEV Community

Discussion on: Automating React Component Generation with a Shell Script

Collapse
 
adrianolupossa profile image
Adriano Lupossa

It has some minor issues, but the idea is good. Some of them are:

  1. The "read" command shouldn't have a space between the "-" and the "p"

  2. In the if statements it should have space around its operators "[ ! -d "$template" ]"