The following table describes the options you can use with the Design Code Utility.

Option

Description

-h, --help

Provides usage information for the utility.

-V, --version

Provides the utility’s version number.

-n, --node <node>

The URL for the administration interface on the target Commerce Cloud instance, for example, http://localhost:9080. Used with --grab, --put, and --putAll. If --node is not specified, the utility attempts to use the most recently specified node.

-u, --username <userName>

The user name for the administration interface on the target Commerce Cloud instance, defaults to admin if not specified. Used with --grab, --put, and --putAll.

-p, --password <password>

The password for the administration interface on the target Commerce Cloud instance, defaults to admin if not specified. Used with --grab, --put, and --putAll. Alternatively, you can specify a password using the CC_ADMIN_PASSWORD environment variable.

-g, --grab

Copies all available content from the target Commerce Cloud instance into the current working directory, or the base directory if one has been specified.

Note: During a grab, a new directory called .ccc is created on disk alongside the grabbed directories. This is called the Tracking Directory and holds important metadata used by the utility. Do not modify this directory.

-t, --put <path to file>

Sends the specified file back to the specified Commerce Cloud instance. The <path to file> can be either a relative or absolute path, in either Windows or POSIX format. Relative paths are relative to the base directory, which you can specify using the --base option. If the --base option is not provided, the base directory is assumed to be the current working directory.

If a full path is provided, then any value specified in the --base option is ignored.

-b, --base <directory>

Specifies the base directory. This can be either a relative or absolute path, in either Windows or POSIX format.

-l, --locale <locale>

Retrieves text snippets and resources for the specified locale only. Also, the informational messages displayed by the Design Code Utility will appear in the locale specified.

-a, --allLocales

Gets text data for all locales rather than just the current locale for the target Commerce Cloud instance.

-c, --clean

Deletes all local files that have been previously grabbed. Used only with the --grab option.

-m, --putAll <directory>

Sends all files back to the target Commerce Cloud instance, beneath the specified directory. The <directory> can be either a relative or absolute path, in either Windows or POSIX format. Relative paths are relative to the base directory, which you can specify using the --base option. If the --base option is not provided, the base directory is assumed to be the current working directory.

If a full path is provided, then any value specified in the --base option is ignored.

-x, --transferAll <path>

Transfers all files from the local machine to the specified Commerce Cloud instance, matching by name. For example, if a widget instance is called Red Footer and the utility finds a widget instance on the target that is also called Red Footer, the utility assumes they are the same.


Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices