logicalmodel import

The logicalmodel import command imports the specified logical model and its metadata to Metadata Insights. To import the logical model along with its dependent physical models, use the importDependency argument.

Usage

logicalmodel import --i logicalModelInputFile --u trueOrFalse --d trueOrFalse
Required Argument Description
Yes --i logicalModelInputFile Specifies the logical model file to be imported.
No --u updateIfExists Specifies whether to update the existing model with same name in Metadata Insights with the imported model.
true
updates the existing logical model.
false
Does not update the existing logical model.
No --d importDependency Specifies whether to import the logical model along with its dependencies.
true
Logical model imported along with dependencies.
false
Logical model imported without the dependent models

Example

This example imports the logical model file "MyModel", along with its dependent models to Metadata Insights and updates the already existing file with this one.

logicalmodel import --i MyModel --u true --d true