comet-cli
v1.2.3
Published
CLI tool for react-comet app
Downloads
3
Readme
Comet CLI
Use it cli with react-comet template
Installation
Run npm i comet-cli -g
Commands
please run all commands in root directory
generate
or g
You can generate:
- Hooks
Pattern:
comet g hook <name in lowerCase>
Also you can useh
instead ofhook
Examples:comet g h http
,comet generate hook styles
- Components
Pattern:
comet g component <name in lowerCase>
Also you can usec
instead ofcomponent
Examples:comet g c button
,comet generate component checkBox
- Pages
Pattern:
comet g page <name in lowerCase>
Also you can usep
instead ofpages
Examples:comet g p home
,comet generate page about