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 bundle
  • Main commands for bundles management
  1. Bundles of templates

Bundles management

Current bundle

The current bundle is printed between "[...]" in the CLI prompt.

Example with "java-jdbc" as the current bundle: telosys#[java-jdbc]>

Use "b" command to set/unset/print the current bundle:

Syntax: b [bundle-part-name] [-none]

For more convenience, you can use only a part of the bundle name (if several bundles contain this part in their name then the command just says "ambiguous")

Examples:

  • b -> print the current bundle

  • b java-jdbc -> set "java-jdbc" as current bundle

  • b jdbc -> set "java-jdbc" as current bundle if "java-jdbc" is the only bundle with "jdbc" in its name

  • b -none -> unset the current bundle

Once you have defined a current model and a current bundle the Telosys prompt looks like this: telosys#(model-name)[bundle-name]>

Main commands for bundles management

Bundles commands:

  • "b" Bundle: Set/print the current bundle

  • "lb" List Bundles : List the project bundles

  • "lbd" List Bundles in Depot : List bundles of templates available in the depot

  • "ib" Install Bundle(s) : Install bundle(s) of templates available in the depot

  • "eb" Edit Bundle : Edit the 'templates.cfg' file of the given bundle

  • "db" Delete Bundle : Delete the current/given bundle

Template commands:

  • "lt" List Templates : List the templates for the current bundle

  • "et" Edit Template : Edit a template (.vm) file

PreviousBundles installationNextVelocity language

Last updated 6 months ago