Telosys doc
WebsiteTwitterLinkedInNews
  • Telosys documentation
  • Telosys CLI
    • Installation on Linux
    • Installation on Windows
    • CLI configuration
    • CLI commands
    • Getting started
  • Telosys with VSCode
    • Extension installation
    • VSCode settings
    • Telosys terminal in VSCode
    • Telosys editor configuration
  • Telosys with JetBrains IDE
  • Project configuration
  • Project variables
  • Project databases
  • Models and entities
    • Model structure
    • Entity
    • Attribute / Link
    • Annotations
    • Tags
    • Examples
    • Model creation
    • Model installation
    • Models management
  • Bundles of templates
    • Bundle structure
    • Bundle creation
    • Bundles installation
    • Bundles management
    • Velocity language
    • Velocity directives
    • Velocity object types
    • Telosys directives
    • Telosys variables
    • Telosys objects
    • Code snippets
  • Code generation
    • "gen" command
    • "genb" command
  • Target languages
    • C++
    • C#
    • Golang
    • Java
    • JavaScript
    • Kotlin
    • PHP
    • Python
    • Scala
    • TypeScript
  • Target databases (SQL)
    • Predefined rules
    • Specific rules
    • Type size and precision
  • Telosys with Git
    • GitHub usage
    • Install with Git
    • Publish with Git
  • Support the project
  • How to contribute
  • Sponsors
  • IDE and editors
  • Telosys 3 Eclipse plugin
    • Eclipse plugin installation
    • Eclipse customization
    • Telosys 3 database model
Powered by GitBook
On this page
  • Current model
  • Main commands for models management
  1. Models and entities

Models management

Current model

The current model is printed between "(...)" in the CLI prompt.

Example with "cars" as the current model: telosys#(cars)>

Use "m" command to set/unset the current model :

  • >m cars -> set "cars" as current model

  • >m -none -> no current model

All entities commands ( "le", "ne", ..) apply to the current model.

Main commands for models management

Model commands:

  • "m" Model : Set/print the current model

  • "lm" List Models : List the project models

  • "lmd" List Models in Depot : List models available in the depot

  • "im" Install Model(s) : Install model(s) from the depot

  • "nm" New Model : Create a new Telosys model (optionally from a database) .

  • "em" Edit Model : Edit the current/given model .

  • "cm" Check Model : Check the current/given model .

  • "dm" Delete Model : Delete the current/given model

Entity commands:

  • "le" List Entities : List the entities defined in the current model

  • "ee" Edit Entity : Edit an entity file

  • "ne" New Entity : Create a new entity in the current model

  • "de" Delete Entity : Delete the given entity in the current model

PreviousModel installationNextBundles of templates

Last updated 6 months ago