Resources generation for Typeplate


Keywords
entity-generation, typeplate
License
MIT
Install
npm install rsgen@0.4.1

Documentation

Github action workflow status Coverage Status Known Vulnerabilities GitHub Release MIT Licence

Naive modular resource generation for 👉 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.

> Licence

MIT