logicalmodel bulkImport

The logicalmodel bulkImport command imports all the logical models and their metadata from the specified directory to Metadata Insights. To import the logical models along with their dependent physical models, use the importDependency argument.

Usage

logicalmodel bulkImport --i inputDirectory --u trueOrFalse --d trueOrFalse
RequiredArgumentDescription
No--i inputDirectorySpecifies the directory from which the logical models are to be imported.
No--u updateIfExistsSpecifies whether to update the existing model.
true
updates the existing logical models.
false
Does not update the existing logical models.
No--d importDependencySpecifies whether to import the logical models along with their dependencies.
true
Logical models imported along with dependencies.
false
Logical models imported without the dependent models

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