earlgrey-cli
v1.0.3
Published
Command line interface for Earlgrey Framework
Downloads
1
Maintainers
Readme
earlgrey-cli
Command line interface for Earlgrey Framework
Instalation
$ npm install earlgrey-cli -g
Usage
Init
$ earlgrey-cli init [projectname] --origin [url_git_repository]
Examples
$ earlgrey-cli init backend
$ earlgrey-cli init backend --origin [email protected]:acalvoa/earlgrey-seed.git
Generators
Controller
$ earlgrey-cli generate controller [controller_name]
Helper
$ earlgrey-cli generate helper [helper_name]
Type
$ earlgrey-cli generate type [type_name]
Policy
$ earlgrey-cli generate policy [policy_name]
Model
$ earlgrey-cli generate model [model_name] -t [tablename]