1.2.7 • Published 3 years ago

@terun/core v1.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Netlify Status

Terun is a template generator to any purpose. Create code from template files and reduces the difficult to increase the project with big architecture.

yarn global @terun/cli

Getting start

Create your config file:

module.exports = {
    commands: {
        example: {
            args:["EntityName"],
            transports: [
                {
                    from: 'from.terun',
                    to: 'to.html'
                }
            ]
        }
    }
};

Define your template independente of language:

class {{EntityName | capitalize}}Entity{
    constructor(){}
}

Run on terminal terun --make example:

class PersonEntity{
    constructor(){}
}

Documentation

Here: https://terun.netlify.com/