All the '
Telosys-Core 3.1.0' features are embedded in Telosys-CLI 3.1.0
See 'Telosys-Core 3.1.0' features :
https://telosys.blogspot.com/2019/08/whats-new-in-telosys-core-version-310.html
The new features specific to Telosys-CLI are described below ...
A basic text editor is now embedded in Telosys-CLI
Telosys-CLI has its own text editor. This text editor is used by default.
As before, it is always possible to define the editor of your choice in the tool configuration.
Some new commands have been added
- 'cgh' : 'Check GitHub'
to check if GitHub is accessible and get the API limits
- 'ghu' : 'GitHub User'
to define the GitHub user (in order to increase the API rate limit to 5000 requests per hour )
- 'et' : 'Edit Template'
to edit a template file ( ".vm" file )
- 'ver' : 'Versions'
to print all the components versions used by the CLI
Running a set of commands defined in a text file
It's now possible to run Telosys-CLI with an 'input file' containing a set of commands.
For this the
'-i' option (for 'input file') has been added
Examples :
- tt -i myfile.txt
- tt -i foo.telosys
- tt -h myhomedir -i mycommands.telosys
All commands with confirmation have a "-y" option
In order to be usable in a commands file all the commands with confirmation message have now a '-y' option.
'-y' option means 'answer yes' to the question.
Comments
All input started with '//' is considered as a comment.
This new feature allows to add comments in commands files.
Commands file example :
// Set this folder as Telosys HOME |
// Choose the current model |
// Print the current model |
// Choose the current bundle |
// Print the current bundle |
// Launch code generation |
gen * * -r -y
Ce commentaire a été supprimé par l'auteur.
RépondreSupprimer