https://github.com/steve-lebleu/rsgen
Naive resources generation for Typeplate.
https://github.com/steve-lebleu/rsgen
entity-generation typeplate
Last synced: 3 months ago
JSON representation
Naive resources generation for Typeplate.
- Host: GitHub
- URL: https://github.com/steve-lebleu/rsgen
- Owner: steve-lebleu
- Created: 2021-03-22T08:09:15.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-25T11:24:48.000Z (5 months ago)
- Last Synced: 2025-03-05T06:36:56.346Z (3 months ago)
- Topics: entity-generation, typeplate
- Language: TypeScript
- Homepage:
- Size: 19.5 MB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README

[](https://coveralls.io/github/steve-lebleu/rsgen?branch=master)


[](https://opensource.org/licenses/mit-license.php)Naive modular resource generation for :point_right: [Typeplate](https://github.com/steve-lebleu/typeplate) project.
## > How to ?
### Install
```bash
$ npm install -g rsgen
```### Generate
Go to project folder:
```bash
$ cd path-to-the-root-of-your-typeplate-project
```Generate resource module or core member:
#### Short way
```bash
$ rsgen [] []
```- **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
```bash
$ rsgen
```And prompt will ask you to define your parameters.
## > Licence
[MIT](/LICENSE)