Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raphaelkieling/terun
Code generator to projects
https://github.com/raphaelkieling/terun
Last synced: 2 days ago
JSON representation
Code generator to projects
- Host: GitHub
- URL: https://github.com/raphaelkieling/terun
- Owner: raphaelkieling
- Created: 2019-07-18T20:46:18.000Z (over 5 years ago)
- Default Branch: development
- Last Pushed: 2023-05-06T08:06:53.000Z (over 1 year ago)
- Last Synced: 2024-10-31T15:03:42.238Z (15 days ago)
- Language: TypeScript
- Homepage: https://terun.netlify.com/
- Size: 24.8 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
Terun
[![Netlify Status](https://api.netlify.com/api/v1/badges/ca5d79ef-8e9e-4325-a357-27f180eff7c1/deploy-status)](https://app.netlify.com/sites/loving-nobel-792891/deploys)
Terun is a template generator to any purpose. Create code from template files and reduces the difficult to increase the project with big architecture.
```txt
yarn global @terun/cli
```# Getting start
Create your config file:
```javascript
module.exports = {
commands: {
example: {
args:["EntityName"],
transports: [
{
from: 'from.terun',
to: 'to.html'
}
]
}
}
};
```Define your template independente of language:
```javascript
class {{EntityName | capitalize}}Entity{
constructor(){}
}
```Run on terminal `terun transport example`:
```javascript
class PersonEntity{
constructor(){}
}
```# Documentation
Here: https://terun.netlify.com/