Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/