logicalmodel bulkImport
The logicalmodel bulkImport command imports all the logical models and their metadata from the specified directory to Discovery. To import the logical models along with their dependent physical models, use the importDependency argument.
Usage
logicalmodel bulkImport --i inputDirectory --u trueOrFalse --d trueOrFalseRequired | Argument | Description |
---|---|---|
No | --i inputDirectory | Specifies the directory from which the logical models are to be imported. |
No | --u updateIfExists | Specifies whether to update the existing model.
|
No | --d importDependency | Specifies whether to import the logical models along with their dependencies.
|
Example
This example imports all the logical models along with their dependent models to the "MyModel" folder located here: C:\Spectrum\LogicalModels. It also updates the existing model of the same name.
logicalmodel bulkImport --i C:\Spectrum\LogicalModels\MyModel --u true --d true