SilverModel Command Line Interface
You can generate the code for your project from the command line interface.
The program "SilverModelCLI.exe" provide this functionality and is installed in the same directory as SilverModel.
SilverModelCLI has the following parameters
/ProjectPath
This is path to the SilverModel project you wish to generate the code for. If the path has spaces in it, surround it with " marks.
/GeneratorPaths
This is a list of the paths to the Generators you wish to use. Separate each path with a space. e.g. /GeneratorPaths "Gens1Path" "Gens2Path"
SilverModelCLI will find all the Generators in the children directory's, so you only need to pass in the root directory of where the Generators are stored.
/RemoteLog
This helps has to improve the project. Any application exceptions will be sent to us to analyze. The default is false(off)
Example: To generate the code for the ToDo-DotNet sample
To generate the code for the ToDo-DotNet sample, open a command prompt and go to the directory containing SilverModelCLI.exe. You will need to alter the below paths to where the files are stored on your system.
SilverModelCLI.exe /ProjectPath "C:\SilverModel Samples\ToDo-DotNet-Core\ToDo-DotNet-Core.SilverModel" /remotelog true /GeneratorPaths "C:\Documents\Silverdawn\SilverModel\SilverModelCodeGenerators"