Users Guide

Command-line interface syntax
The following chapter describes the syntax for the commands that you can use in command-line interface (CLI):
Consider the following points for using DRM through CLI:
When performing any operations on a repository, if the repository version is not specified, the operations are performed on the latest
version of the repository.
To update, delete, or import a specific repository use the repository name with version in the following format: <repository
name>:<repository version>
Run all the commands on Windows operating system using / or - character.
To use a network path, provide the authentication attribute in the following format: --authentication="domain\username:password"
For OMIVV console, provide username@domain:password
All the CLI operations are limited to a single repository.
Selection of bundles is not supported in CLI.
Nowait attribute can be used with export, scheduled refresh, and plug-in update.
If source and catalog attributes are not used for repository creation, then the latest Enterprise catalog is considered as base catalog.
If you have defined the port number for integration type, ensure that you specify the port number while creating a repository.
Table 4. Commands
Description Command Full form Example
Launching DRM
Open DRM in a Graphical User Interface
(GUI) mode.
drm
NA
drm
Commands to display details in DRM
Display the current version of DRM.
drm -v drm --version drm --version
Display help menu.
drm -h drm --help drm --help
Display the list of all repository names,
latest version, size, and the latest date
when it was modified.
drm -li=rep drm --list=rep drm --list=rep
Display all console integration types.
drm -li=integration-type drm --list=
integration-type
drm --list=
integration-
type
Displays all available categories
drm -li=category drm --list=category drm -
li=category
Displays all the categories for a specific
repository version
drm -li=category -
r=<repository
name>:<version>
drm --list=category
--
repository=<repositor
y name>:<version>
drm -
li=category -
r=repo1:1.01
Displays all available catalogs
drm -li=catalogs drm --list=catalogs drm -
li=catalogs
Displays all available component types
drm -li=component-types drm --list=component-
types
drm -
list=component
-types
Displays all the component types for a
specific repository
drm -li=component-type -
r=<repository name>
drm --list=component-
type --
repository=<repositor
y name>
drm -
li=component-
type -r=repo1
A
Command-line interface syntax 23