cra-cli

0.1.1 • Public • Published

Create React App CLI

A cli file generator (components & containers) for create-react-app projects.

Install

$ yarn global add cra-cli

or via npm:

$ npm i -g cra-cli

Usage

$ cra-cli --help

Generating a new component

To generate a component run the following:

$ cra-cli -c Button

Generating a new container

To generate a container run the following:

$ cra-cli -C App

Options

-c, --component  Component
-C, --container  Container
-d, --directory  Create Directories for components/containers
-f, --force      Overwrite directories/files that exist
-h, --help       output usage information```

Readme

Keywords

none

Package Sidebar

Install

npm i cra-cli

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • jonstuebe