react-command
v0.4.0
Published
CLI for generate React and Next.js File with ease
Downloads
35
Readme
React Command
CLI for generate React and Next.js File with ease
Installation
npm :
npm i --save-dev react-command
or
yarn :
yarn add -D react-command
Usage/Examples
Use one of this :
with npx :
npx react-command --help
or
npx rc --help
with yarn :
yarn react-command --help
or
yarn rc --help
It will show
USAGE
$ rc <command> [option]
COMMANDS
help Print help info
--help Print help info
-h Print help info
OPTIONS
-dry-run, --dryRun Show what file will be generate Default: false
--parent Generate file with the same name for folder Default: true
-n, --name Give the name for file Default: true
-pn, --parentName Custom name for parent file (folder) Default: true
-p, --page Generate page file Default: false
-r, --root set root for generate folder and file Default: false
-f, --force Always create file or folder --exists-- Default: false
-c, --extension Generate file with the given extension Default: jsx
-c, --clear Clear the console Default: true
--noClear Don't clear the console Default: false
-d, --debug Print debug info Default: false
-v, --version Print CLI version Default: false