Once you have Reacli globally installed (see installation), you can directly use it like this:
reacli component path/to/my/component
You don’t need to have Reacli installed globally to use it. You can use npx
to run it wherever you want:
npx reacli component path/to/my/component
You can create several components at once by running the following command:
reacli component ./my-super-comp1 ./my-super-comp2
Reacli will then generate several components.
If you use options in the CLI or have a configuration file, those parameters will be applied to the generated components.