1.0.1 • Published 3 years ago

create-react-files-cli v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

to create a basic component file

crc --help ----> gets a list of all the commands and how to run them

crc -c ----> -c is the building block of creating a class component

crc -f ---> -f is the building block of creating a functional component

crc -arrow ---> -es6 is the building block of creating an arrow function Component

crc -ts ---> provides the same services but generates typescript code instead of javascript crc -n ---> specify the name of the component

crc -l ---> specify a location if empty it will ignore and go with current working directory of where the command was called

location: if no location is specified the place where the command was called will determine where the file will go

location: /thefolder will look for a folder with name thefolder and put the new file there if not folder exists it will automatically create it

crc -c MyClassComponent

crc -c || -f || -arrow -n=component_name -llocation

2.4.1

3 years ago

2.4.0

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.0.1

3 years ago