CLI Deprecation Notice
With the introduction of the new CLI commands, the following commands have been deprecated and will be removed in a later release. You can still use these commands to interact with legacy metadata collections. View the new commands at Metadata store command-line interface.
Build group commands
The following build group commands are available:
Build group list
This command lists the names of all the build groups in the metadata store.
Usage
dbb build-group list [options]
Positional arguments
- None
Command Options
- None
Configuration options
Note that you can omit the configuration options if the CLI session is started and active.
You can specify the following options:
-
--type
for the metadata store implementation type. The possible values arefile
(default) anddb2
. -
--location
for the location of the file system implementation. The default value is$HOME
. -
--user
for the Db2® connection user ID. -
--password
for the Db2 connection password.
IMPORTANT: The password must be encrypted with the DBB password utility. See Encrypting metadata store passwords. -
--password-file
for the location of Db2 connection password that is stored in a password file.
IMPORTANT: The password file contains an encrypted password and must be generated with the DBB password utility. See Encrypting metadata store passwords. -
--url
for the Db2 server location. It can be local or a remote URL. It is optional if the URL is provided in the--db2_config
file. -
--db2-config
for the location of the Db2 connection configuration file.
Build group view
This command displays the objects of the build group.
Usage
dbb build-group view <groupName> [options]
Positional arguments
groupName
for the name of the build group to view
Command Options
- None
Configuration options
Note that you can omit the configuration options if the CLI session is started and active.
You can specify the following options:
-
--type
for the metadata store implementation type. The possible values arefile
(default) anddb2
. -
--location
for the location of the file system implementation. The default value is$HOME
. -
--user
for the Db2® connection user ID. -
--password
for the Db2 connection password.
IMPORTANT: The password must be encrypted with the DBB password utility. See Encrypting metadata store passwords. -
--password-file
for the location of Db2 connection password that is stored in a password file.
IMPORTANT: The password file contains an encrypted password and must be generated with the DBB password utility. See Encrypting metadata store passwords. -
--url
for the Db2 server location. It can be local or a remote URL. It is optional if the URL is provided in the--db2_config
file. -
--db2-config
for the location of the Db2 connection configuration file.
Build group delete
This command deletes a build group from the metadata store.
Usage
dbb build-group delete <groupName> [options]
Positional arguments
groupName
for the name of the build group to delete
Command Options
- None
Configuration options
Note that you can omit the configuration options if the CLI session is started and active.
You can specify the following options:
-
--type
for the metadata store implementation type. The possible values arefile
(default) anddb2
. -
--location
for the location of the file system implementation. The default value is$HOME
. -
--user
for the Db2® connection user ID. -
--password
for the Db2 connection password.
IMPORTANT: The password must be encrypted with the DBB password utility. See Encrypting metadata store passwords. -
--password-file
for the location of Db2 connection password that is stored in a password file.
IMPORTANT: The password file contains an encrypted password and must be generated with the DBB password utility. See Encrypting metadata store passwords. -
--url
for the Db2 server location. It can be local or a remote URL. It is optional if the URL is provided in the--db2_config
file. -
--db2-config
for the location of the Db2 connection configuration file.
Build group export
This command exports a build group and all the build results to a subdirectory in the export directory.
Usage
dbb build-group export <groupName> --directory <exportDirectory> [options]
Positional arguments
groupName
for the name of the build group to export
Command Options
--directory
(required) for the directory to export the build group subfolder.--encoding <codePage>
for the optional encoding of the text artifacts. It defaults to the default code page of the z/OS® UNIX system.
Configuration options
Note that you can omit the configuration options if the CLI session is started and active.
You can specify the following options:
-
--type
for the metadata store implementation type. The possible values arefile
(default) anddb2
. -
--location
for the location of the file system implementation. The default value is$HOME
. -
--user
for the Db2® connection user ID. -
--password
for the Db2 connection password.
IMPORTANT: The password must be encrypted with the DBB password utility. See Encrypting metadata store passwords. -
--password-file
for the location of Db2 connection password that is stored in a password file.
IMPORTANT: The password file contains an encrypted password and must be generated with the DBB password utility. See Encrypting metadata store passwords. -
--url
for the Db2 server location. It can be local or a remote URL. It is optional if the URL is provided in the--db2_config
file. -
--db2-config
for the location of the Db2 connection configuration file.