Naive modular resource generation for 👉 Typeplate project.
$ npm install -g rsgen
Go to project folder:
$ cd path-to-the-root-of-your-typeplate-project
Generate resource module or core member:
$ 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
$ rsgen
And prompt will ask you to define your parameters.