CLI commands
Telosys-CLI uses a set of short commands (based on 2 or 3 characters) to identify the action to be launched.
Most commands start with a letter which designates the action :
  • "e" for "edit"
  • "l" for "list"
  • "d" for "delete"
  • "n" for "new" ( "creation" )
  • "c" for "check"
  • "i" for "install"
and the second letter is used to specify on what the action is applied
  • "m" for "model"
  • "e" for "entity"
  • "b" for "bundle of templates"
  • "t" for "template" etc
Examples :
  • "nm" for "new model"
  • "dm" for "delete model"
  • "ib" for "install bundle"
  • "le" for "list entities"
  • "eb" for "edit bundle"
Just press "?" to see all the available commands
1
telosys#(cars.model)[java-jpa-entities]> ?
2
General commands :
3
. ? Help : Print help (list of all available commands)
4
. cd Change Directory : Change the current directory
5
. ls List : List the content of a directory
6
. mkdir Make Directory : Create a new directory in the current location
7
. pwd Print Working Directory : Print the current working directory
8
. e Edit : Open an external editor
9
. err Error : Print details about the last error
10
. env Environment : Environment state
11
. ver Versions : Versions information
12
. q Quit : Quit Telosys command line interface
13
Project commands :
14
. h Home : Print or set the 'HOME' directory
15
. init Initialization : Init the Telosys directory with all required files
16
. cfg Configuration : Print project configuration (folders, variables, etc.)
17
. ecfg Edit Configuration : Open an editor to edit 'telosys-tools.cfg'
18
Database commands :
19
. ldb List Databases : List the databases
20
. edb Edit Databases : Open an editor to edit the 'databases.dbcfg' file
21
. cdb Check Database : Check the current/given database
22
Model commands :
23
. m Model : Set/print the current model
24
. nm New Model : New Telosys DSL model
25
. ndbm New Database Model : New model for the current/given database
26
. udbm Update Database Model : Update a model for the current/given database
27
. lm List Models : List the models
28
. em Edit Model : Edit the current/given model
29
. cm Check Model : Check the current/given model
30
. dm Delete Model : Delete the current/given model
31
Entity commands :
32
. ne New Entity : Create a new entity in the current model
33
. le List Entities : List the entities defined in the current model
34
. ee Edit Entity : Edit an entity file
35
. de Delete Entity : Delete the given entity in the current model
36
GitHub commands :
37
. gh GitHub : Print/Set/Reset the GitHub store name
38
. ghu GitHub user : Print/Set/Clear the current GitHub user
39
. lgh List GitHub : List the content of the GitHub store
40
. cgh Check GitHub : Check GitHub accessibility and get API rate limit
41
Bundle commands :
42
. ib Install Bundle : Install templates bundles from GitHub
43
. b Bundle : Print or set the current bundle
44
. lb List Bundles : List the installed bundles
45
. eb Edit Bundle : Edit the 'templates.cfg' file of the given bundle
46
. db Delete Bundle : Delete the current/given bundle
47
Template commands :
48
. lt List Templates : List the templates for the current bundle
49
. et Edit Template : Edit a template (.vm) file
50
Generation commands :
51
. gen Generate : Generate the given targets for the given entities
52
Copied!
For more information about a specific command, just press "? command-name"
For example "? nm"
1
telosys#(cars.model)[java-jpa-entities]>? nm
2
nm : New Model
3
Description :
4
New Telosys DSL model
5
Usage :
6
nm [model-name]
Copied!
Last modified 8mo ago
Copy link