💻CLI

Let's dive into some CLI argument

Reactcci has next CLI flags:

--update, -u

To activate update mode to add new files to component or to replace existing

--dest, -d

To set absolute or destination path to create or update component

--skip-search, -s

To skip interactive folder selection to use dest argument as is

--name, -n

To set component name or names divided by space to create several

--files, -f

To set files to create or update, instead interactive selection

Example: --files style test component[1]

Will create optional files like style and test and will select second type of component by index

--project, -p

To set project in multi-project mode

--sls

To skip last agreement step like skipFinalStep in config file

Last updated