Package org.sklsft.generator.bash.launcher


package org.sklsft.generator.bash.launcher
  • Class
    Description
    This class can be launched to execute code writing
    Argument required : the workspace folder where the "data-model" folder will be detected
    Depending on the meta data that is going to be read, the main method will : load the project representation build a tree of files that are going to be written launch a cascading writing of the files in the tree
    This class can be launched to execute your database building
    Argument required : the workspace folder where the "data-model" folder will be detected the database name that must be declared in /data-model/datasource-context.xml Depending on the meta data that is going to be read, the main method will : load the project representation clean the project database execute all the SQL files that have been previously generated to build your database
    Launches help command
    reads a file where the text will be displayed
    This class aims at resolving what launcher to be used depending on the command passed
    The resolution is based on an enumeration of available commands
     
    This is the entry point of sklgen cli
    It uses a command resolver that will find a command launcher and get the missing inputs through the corresponding ArgumentsPrompter
    This class can be launched to initialize a project
    For that, arguments are required to populate a ProjectMetaData
    In your workspace folder, a data-model folder will be created with : your skeleton.xml file that contains your project meta-data a folder /data-model/ with a template of your datasource-context.xml file for init and population your project configuration depending on the skeleton that you want