Command Central Developer Reference : Using the Command Line Interface : Template Commands : sagcc exec templates composite import
sagcc exec templates composite import
Registers an existing composite template in a Command Central installation. With this command, you can import a composite template that is:
*a single YAML template definition file
*a zip archive that contains the YAML template definition and other files
Syntax
*Command Central syntax:
sagcc exec templates composite import  {--input | -i} filename.{zip| yaml} 
overwrite={true | false}  [options]
*Not supported on Platform Manager.
Arguments and Options
Argument or Option
Description
{--input | -i}  filename.{zip| yaml}
Required. An input file that contains a composite template. For more information about this command option, see input.
overwrite={true | false}
Required when you execute the command to update an environment, using an updated version of the same composite template. Specifies whether to delete a composite template that is already imported in Command Central. Valid values:
*true - delete the template
*false - (default) do not delete the template
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Example When Executing on Command Central
*To import a composite template from the “myTemplate.zip” file into a Command Central installation:
sagcc exec templates composite import  --input c:\tmp\myTemplate.zip             
--input-format application/zip
*To delete an imported composite template:
sagcc exec templates composite import -i template.yaml overwrite=true
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback