rsgen
v0.4.1
Published
Resources generation for Typeplate
Downloads
33
Readme
Naive modular resource generation for :point_right: Typeplate project.
> How to ?
Install
$ npm install -g rsgen
Generate
Go to project folder:
$ cd path-to-the-root-of-your-typeplate-project
Generate resource module or core member:
Short way
$ rsgen <name> [<target>] [<permissions>]
- name : name of your entity|module|member as string
- target : -c (core) or -r (resource). Default: -r
- permissions : -p=[a,u,g]|[admin,user,ghost]. Default: admin
Interactive way
$ rsgen
And prompt will ask you to define your parameters.