egg-csv-cli
v1.0.2
Published
Quickly create templates by project
Downloads
15
Readme
egg-csv-cli
Install
$ npm i egg-csv-cli -g
What egg-csv
c => controller
s => service
v => view
Usage
create a new controller
$ egg-csv g c list
or
$ egg-csv g c activity/list
create a new service
$ egg-csv g s list
or
$ egg-csv g s activity/list
create a new view
$ egg-csv g v list
or
$ egg-csv g v activity/list
The default will be created in the corresponding directory(./app/controller|service|view), if not found, the current directory