logicalmodel bulkExport

The logicalmodel bulkExport command exports all the logical models and their metadata from Discovery to the specified directory. If you do not specify the output directory, the models are exported to the directory from which you are running the command. To export the logical models along with the dependent physical models, use the exportDependency argument.

Usage

logicalmodel bulkExport --o outputDirectory --d exportDependency trueOrFalse
RequiredArgumentDescription
No--o outputDirectorySpecifies the directory where the logical models are to be exported.
No--d exportDependencySpecifies if the models are to be exported along with all their dependencies.
true
Models exported along with dependencies.
false
Models exported without the dependent models

Example

This example exports all the logical models along with the dependencies to the "MyModelExport" folder, located at: C:\Spectrum\LogicalModels.

logicalmodel bulkExport --o C:\Spectrum\LogicalModels\MyModelExport --d true