Skip to content

Nisaju/react-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published