@qonsoll/qonsoll-cli
v1.0.1
Published
CLI
Downloads
1
Maintainers
Keywords
Readme
Qonsoll CLI
Great CLI for your next react.js application
1. Installation (only for private access)
# Clone repository
$> git clone [email protected]:qonsoll/qonsoll-cli.git
# Go to the qonsoll-cli folder
$> cd qonsoll-cli
# Install CLI
$> npm run setup
2. How to use?
2.1 Create route
# Create route (will start creation wizard)
$> qonsoll route
# Create route (with params)
$> qonsoll route --domainName name --routeType show
# Create route (where name = domainName and type = routeType)
$> qonsoll route name type
2.2 Create component
# Create component (will start creation wizard)
$> qonsoll component
# Create component (with params)
$> qonsoll component --domainName name --componentType form
# Create component (where name = domainName and type = componentType)
$> qonsoll route name type
3. Types
3.1 Route types
Route types: show, all, edit, create, wizard, dashboard
3.2 Component types
Component types: simpleView, advancedView, simpleForm, advancedForm, select, list