Skip to content

Guide Step 4 Generation

Laurent GUERIN edited this page Sep 18, 2017 · 7 revisions

Telosys User Guide - Step #4 - Code generation

Once you have a valid model and a least a bundle of templates, you are ready to generate your code.

gen is the only command you need to generate your code.

The syntax is : gen entities templates [-r]

  • entities : a list of entities separated by a comma ( , ) or * for all

  • templates : a list of templates separated by a comma ( , ) or * for all

  • -r to copy the static resources provided by the bundle (if any)

You can use it in different ways :

gen * * is the simplest way it will generates the code for "all the entities of the model" using "all the templates of the current bundle"

NB : You must have defined the current model and the current bundle before using the gen command.

Clone this wiki locally