quark-cli
v1.0.7
Published
A simple cli tool to generate react components based on atomic folder structure.
Downloads
14
Readme
Quark CLI
A simple cli tool to generate react components based on atomic folder structure
The CLI is interactive
Installation
Install globally (preferred) with npm
npm install -g quark-cli
Usage
# Create an atom level React component
quark generate atom
Overview
# quark g --help
Usage: quark g|generate ["atom" | "molecule" | "organism" | "page" | "template" | "util" | "intl"]
generate a new Component - e.g. React Component, utils, intl, etc.
Options:
-d, --defaults Use default values
-h, --help display help for command
Default values
{
"template": {
"hasProps": true,
"useReactNamespace": false
},
"useTypescript": false,
"jsExtension": ".js",
"intlFilename": "messages"
}