0.4.1 • Published 2 years ago

react-scaffoldx v0.4.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-scaffold

⚛️ Scaffold your React app from the command line ⚛️.

Downloads/week Build status License

Usage & Installation

It is recommended to install react-scaffoldx globally since it makes it easier for you to quickly type out.

$ npm install -g react-scaffoldx
$ rsx COMMAND
running command...
$ rsx (--version)
react-scaffoldx/0.4.1 linux-x64 node-v16.17.0
$ rsx --help [COMMAND]
USAGE
  $ rsx COMMAND
...

Commands

rsx c

Create/Scaffold a React component

USAGE
  $ rsx c [-d <value>] [--typescript] [--style css|scss|styled-components|none]

FLAGS
  -d, --dest=<value>                         Destination folder
  --style=(css|scss|styled-components|none)  Choose which type of styling to use for your components
  --typescript                               Create a TypeScript component

DESCRIPTION
  Create/Scaffold a React component

ALIASES
  $ rsx comp
  $ rsx c

EXAMPLES
  $ rsx c ComponentOne ComponentTwo

  $ rsx c ComponentOne --typescript --style=scss --dest src/components/layout

rsx comp

Create/Scaffold a React component

USAGE
  $ rsx comp [-d <value>] [--typescript] [--style css|scss|styled-components|none]

FLAGS
  -d, --dest=<value>                         Destination folder
  --style=(css|scss|styled-components|none)  Choose which type of styling to use for your components
  --typescript                               Create a TypeScript component

DESCRIPTION
  Create/Scaffold a React component

ALIASES
  $ rsx comp
  $ rsx c

EXAMPLES
  $ rsx comp ComponentOne ComponentTwo

  $ rsx comp ComponentOne --typescript --style=scss --dest src/components/layout

rsx component

Create/Scaffold a React component

USAGE
  $ rsx component [-d <value>] [--typescript] [--style css|scss|styled-components|none]

FLAGS
  -d, --dest=<value>                         Destination folder
  --style=(css|scss|styled-components|none)  Choose which type of styling to use for your components
  --typescript                               Create a TypeScript component

DESCRIPTION
  Create/Scaffold a React component

ALIASES
  $ rsx comp
  $ rsx c

EXAMPLES
  $ rsx component ComponentOne ComponentTwo

  $ rsx component ComponentOne --typescript --style=scss --dest src/components/layout

See code: dist/commands/component.ts

rsx help [COMMAND]

Display help for rsx.

USAGE
  $ rsx help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for rsx.

See code: @oclif/plugin-help

rsx init

Initialize react-scaffold's config file (.rsxrc)

USAGE
  $ rsx init [-y]

FLAGS
  -y, --yes  accept default config values ('assume YES')

DESCRIPTION
  Initialize react-scaffold's config file (.rsxrc)

See code: dist/commands/init.ts