You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Import, export and list all templates

Available Sub Commands

export

Export an existing template to a file

Export Arguments

Argument

Description

-h [ --help ]

Display this message

-n [ --name ] arg

The name of an existing template

-f [ --file-name ] arg

The name of a file that the template will be written into

-d [ --directory-name ] arg

The directory name to export to. File name will be auto - generated from the object metadata.

--force

Overwrite the destination file if it already exists

export-all

Exports all existing templates to a directory


import-directory

Import a template from a directory


import-file

Import a template from a file


list-all

  List all  templates


list-types

List all template types


show

Show the contents of an existing template


Template Arguments

Argument

Description

-h [ --help]Displays This message

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