Execute a batch of commands and generate an empty batch file. The following sub commands and arguments are available for batch:

Available Sub Commands

execute 

Execute a batch of commands listed in a JSON file

Execute Arguments

Argument

Description

-h [ --help ]

Display this message

-f [ --file-name ] arg

The name of an existing batch command file

--meta-dsn arg

ODBC DSN of the metadata repository

--meta-user-name arg

Username for the ODBC DSN

--meta-password arg

Password for the ODBC DSN

--meta-database arg

Database used by the ODBC DSN

--meta-dsn-arch arg

The architecture of the ODBC DSN. Valid values are 32 and 64. Defaults to 32 if not pecified.

--meta-con-string arg

ODBC connection string for the metadata repository when using Advanced Connect.This arg will override the values stored in the RED Profile if provided. Accepts RED tokens $DSN$, $USER$ and $PASSWORD$.

--red-profile arg

Path to the RED Profile file to be used with Advanced Connect, usually necessary for data warehouse actions when Advanced Connect is in use.

-e [ --exit-on-error ] arg

Whether or not to exit the application when an error occurs

generate-file

Generate an empty batch command file

Generate File Arguments

Argument

Description

-h [ --help ]

Display this message

-f [ --file-name ] arg

The name of a file to write empty batch command data into

Batch Arguments:

ArgumentDescription
-h [ --help]Displays a list of available sub commands and their description.

Common Arguments

The following arguments are used on most of the commands available in RedCli:
ArgumentDescription

 -c [ --config-file ] <arg>

A configuration file that contains program options (format is INI file)
-o [ --output-mode ] <arg>Either human, json or xml.
-l [ --log-level ] <arg>Log level, 0-5 inclusive. 0=only fatal errors, 5=all logging messages.

  • No labels