I am a complete beginner with telosys. I have been through the documentation and the youtube video for an introduction, however, I can't seem to understand where the input to the templates comes from.
I have made the following entity
Feature {
name : string;
introduced: string;
present: boolean;
}
and I have the following template
Current entity is first ${feature.name}
When I attempt to generate the output on the command line using 'gen' I understandably get an error.
How do I provide input to these models? Can I plumb it into my existing python script?
def main():
# Create a feature manually or compute the values based on some input
f1 = Feature()
f1.name = "My feature"
f1.present = False
f2.introduced = "This was my first feature"
# How do I call telosys gen from this point onwards?
gen.gen()???
I maybe have completely missed the point.