modelstore bulkImport

The modelstore bulkImport command imports all the model stores to Discovery.

Usage

modelstore bulkImport --i inputDirectory --u trueOrFalse --d trueOrFalse
RequiredArgumentDescription
No--i inputDirectorySpecifies the location of the folder from which the model stores are to be imported.
No--u updateIfExistsSpecifies whether to update the existing model stores with same names by the imported model stores.
true
updates the existing model stores.
false
Does not update the existing model stores.
No--d importDependencySpecifies that the model stores are to be imported along with all the dependencies.
true
Model stores imported along with dependencies.
false
Model stores imported without the dependent models

Example

This example imports all the model stores, along with their dependencies from the "MyModel" folder located here: C:\Spectrum\modelstore to Discovery. It also overwrites any existing model by the same name.

modelstore bulkImport --i C:\Spectrum\modelstore\MyModel --u true --d true