logicalmodel import

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

Usage

logicalmodel import --i logicalModelInputFile --u trueOrFalse --d trueOrFalse
RequiredArgumentDescription
Yes--i logicalModelInputFileSpecifies the logical model file to be imported.
No--u updateIfExistsSpecifies whether to update the existing model with same name in Discovery with the imported model.
true
updates the existing logical model.
false
Does not update the existing logical model.
No--d importDependencySpecifies 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 Discovery and updates the already existing file with this one.

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