Use the cec Command-Line Utility

The cec cross-platform command-line utility provides commands for creating and managing templates and components.

Before you use the cec command-line utility, create source in your local development environment for commands that require a connection to the Oracle Content and Experience server.

Integrated help provides information to run the commands, with examples. To view the cec integrated help, you can type cec commands in the command line:

  • In a terminal window, go to the cec directory.

  • Type cec to list the cec commands.



cec
------------------------
Usage: cec <command> [options]

Run cec <command> -h' to get the detailed help for the command.

Commands:

Documents
  cec create-folder <name>                           Creates a folder or folder hierarchy on OCE server.                       [alias:  cfd]
  cec share-folder <name>                            Shares folder with users and groups on OCE server.                        [alias:  sfd]
  cec unshare-folder <name>                          Deletes user or group access to a shared folder on OCE server.            [alias: usfd]
  cec list-folder <path>                             Displays folder hierarchy on OCE server.                                  [alias:  lfd]
  cec download-folder <path>                         Downloads folder from OCE server.                                         [alias: dlfd]
  cec upload-folder <path>                           Uploads folder to OCE server.                                             [alias: ulfd]
  cec delete-folder <path>                           Deletes folder on OCE server.                                             [alias:     ]
  cec download-file <file>                           Downloads file <file> from OCE server.                                    [alias:  dlf]
  cec upload-file <file>                             Uploads file <file> to OCE server.                                        [alias:  ulf]
  cec delete-file <file>                             Deletes file on OCE server.                                               [alias:     ]

Components
  cec create-component <name>                        Creates the component <name>.                                             [alias:   cc]
  cec copy-component <source> [<destination>]        Copies an existing component named <source> to <destination>.             [alias:  cpc]
  cec import-component <zip>                         Imports a component from <zip>.                                           [alias:   ic]
  cec export-component <name>                        Exports the component <name> as a zip file.                               [alias:   ec]
  cec download-component <names>                     Downloads the components <names> from the OCE server.                     [alias: dlcp]
  cec upload-component <names>                       Uploads the components <names> to the OCE server.                         [alias: ulcp]
  cec control-component <action>                     Performs action <action> on components on OCE server.                     [alias: ctcp]
  cec share-component <name>                         Shares component with users and groups on OCE server.                     [alias:   sc]
  cec unshare-component <name>                       Deletes user or group access to a component on OCE server.                [alias:  usc]

Templates
  cec create-template <name>                         Creates the template <name>.                                              [alias:   ct]
  cec create-template-from-site <name>               Creates the template <name> from site <site> on the OCE server.           [alias: ctfs]
  cec download-template <name>                       Downloads the template <name> from the OCE server.                        [alias:  dlt]
  cec compile-template <source>                      Compiles the site within the template.                                    [alias: cmpt]
  cec copy-template <source> [<destination>]         Copies an existing template named <source> to <destination>.              [alias:  cpt]
  cec import-template <zip>                          Imports a template from <zip>.                                            [alias:   it]
  cec export-template <name>                         Exports the template <name> as a zip file.                                [alias:   et]
  cec upload-template <name>                         Uploads the template <name> to the OCE server.                            [alias:  ult]
  cec delete-template <name>                         Deletes the template <name> on the OCE server.                            [alias:     ]
  cec share-template <name>                          Shares template with users and groups on OCE server.                      [alias:  stm]
  cec unshare-template <name>                        Deletes user or group access to a template on OCE server.                 [alias: ustm]
  cec update-template <action>                       Performs action on a local template.                                      [alias:   ut]
  cec describe-template <name>                       Describes the template <name> package.                                    [alias:  dst]
  cec create-template-report <name>                  Generates an asset usage report for the template <name> package.          [alias: cttr]

Themes
  cec add-component-to-theme <component>             Adds a component to a theme.                                              [alias: actt]
  cec remove-component-from-theme <component>        Removes a component from a theme.                                         [alias: rcft]
  cec control-theme <action>                         Performs action <action> on theme on OCE server.                          [alias:  ctt]
  cec share-theme <name>                             Shares theme with users and groups on OCE server.                         [alias:  sth]
  cec unshare-theme <name>                           Deletes user or group access to a theme on OCE server.                    [alias: usth]

Sites
  cec create-site <name>                             Creates Enterprise Site <name>.                                           [alias:   cs]
  cec copy-site <name>                               Copies Enterprise Site <name>.                                            [alias:  cps]
  cec update-site <name>                             Update Enterprise Site <name>.                                            [alias:   us]
  cec transfer-site <name>                           Transfers a site from one OCE server to another.                          [alias:   ts]
  cec transfer-site-content <name>                   Creates scripts to transfer site content from one OCE server to another.  [alias:  tsc]
  cec validate-site <name>                           Validates site <name>.                                                    [alias:   vs]
  cec control-site <action>                          Performs action <action> on site on OCE server.                           [alias:  cts]
  cec share-site <name>                              Shares site with users and groups on OCE server.                          [alias:   ss]
  cec unshare-site <name>                            Deletes user or group access to a site on OCE server.                     [alias:  uss]
  cec get-site-security <name>                       Gets site security on OCE server.                                         [alias:  gss]
  cec set-site-security <name>                       Sets site security on OCE server.                                         [alias:  sss]
  cec index-site <site>                              Index the page content of site <site> on OCE server.                      [alias:   is]
  cec create-site-map <site>                         Creates a site map for site <site> on OCE server.                         [alias:  csm]
  cec create-rss-feed <site>                         Creates RSS feed for site <site> on OCE server.                           [alias:  crf]
  cec create-asset-report <site>                     Generates an asset usage report for site <site> on OCE server.            [alias:  car]
  cec upload-static-site-files <path>                Uploads files to render statically from a site on OCE server.             [alias: ulss]
  cec download-static-site-files <site>              Downloads the static files from a site on OCE server.                     [alias: dlss]
  cec delete-static-site-files <site>                Deletes the static files from a site on OCE server.                       [alias:     ]
  cec refresh-prerender-cache <site>                 Refreshes pre-render cache for a site on OCE server.                      [alias:  rpc]
  cec migrate-site <site>                            Migrates a site from OCI IC server to EC server.                          [alias:   ms]

Assets
  cec download-content                               Downloads content from OCE server.                                        [alias:  dlc]
  cec upload-content <name>                          Uploads local content to a repository on OCE server.                      [alias:  ulc]
  cec control-content <action>                       Performs action <action> on channel items on OCE server.                  [alias: ctct]
  cec transfer-content <repository>                  Creates scripts to transfer content from one OCE server to another.       [alias:   tc]
  cec list-assets                                    Lists assets on OCE server.                                               [alias:   la]
  cec copy-assets <repository>                       Copies assets to another repository on OCE server.                        [alias:   ca]
  cec create-asset-usage-report <assets>             Generates an asset usage report for assets on OCE server.                 [alias: caur]

Content
  cec create-repository <name>                       Creates a repository on OCE server.                                       [alias:   cr]
  cec control-repository <action>                    Performs action <action> on repositories on OCE server.                   [alias:  ctr]
  cec share-repository <name>                        Shares repository with users and groups on OCE server.                    [alias:   sr]
  cec unshare-repository <name>                      Deletes user or group access to a repository on OCE server.               [alias:  usr]
  cec create-channel <name>                          Creates a channel on OCE server.                                          [alias:  cch]
  cec share-channel <name>                           Shares channel with users and groups on OCE server.                       [alias:  sch]
  cec unshare-channel <name>                         Deletes user or group access to a channel on OCE server.                  [alias: usch]
  cec create-localization-policy <name>              Creates a localization policy on OCE server.                              [alias:  clp]
  cec list-server-content-types                      Lists all content types from server.                                      [alias: lsct]
  cec share-type <name>                              Shares type with users and groups on OCE server.                          [alias:   st]
  cec unshare-type <name>                            Deletes user or group access to a type on OCE server.                     [alias:  ust]
  cec download-type <name>                           Downloads types from OCE server.                                          [alias: dltp]
  cec upload-type <name>                             Uploads types to OCE server.                                              [alias: ultp]
  cec update-type <action>                           Performs action <action> on a type                                        [alias:  utp]
  cec download-recommendation <name>                 Downloads a recommendation from the OCE server.                           [alias:  dlr]
  cec upload-recommendation <name>                   Uploads a recommendation to the OCE server.                               [alias:  ulr]
  cec create-contentlayout <name>                    Creates a content layout based on a content type.                         [alias:  ccl]
  cec add-contentlayout-mapping <contentlayout>      Creates content type and content layout mapping.                          [alias: aclm]
  cec remove-contentlayout-mapping <contentlayout>   Removes a content layout mapping.                                         [alias: rclm]
  cec add-field-editor <name>                        Adds a field editor to a field in a content type.                         [alias:  afe]
  cec remove-field-editor <name>                     Removes a field editor from a field in a content type.                    [alias:  rfe]
  cec migrate-content <name>                         Migrates content from OCI IC server to EC server.                         [alias:   mc]
  cec compile-content                                Compiles the content items generating HTML renditions.                    [alias: cmpc]

Taxonomies
  cec download-taxonomy <name>                       Downloads a taxonomy from OCE server.                                     [alias: dltx]
  cec upload-taxonomy <taxonomy>                     Uploads a taxonomy to OCE server.                                         [alias: ultx]
  cec control-taxonomy <action>                      Performs action on taxonomy on OCE server.                                [alias: cttx]

Translation
  cec list-translation-jobs                          Lists translation jobs.                                                   [alias:  ltj]
  cec create-translation-job <name>                  Creates a translation job <name> for a site on OCE server.                [alias:  ctj]
  cec download-translation-job <name>                Downloads translation job <name> from OCE server.                         [alias:  dtj]
  cec submit-translation-job <name>                  Submits translation job <name> to translation connection <connection>.    [alias:  stj]
  cec refresh-translation-job <name>                 Refreshes translation job <name> from translation connection.             [alias:  rtj]
  cec ingest-translation-job <name>                  Gets translated job <name> from translation connection and ingest.        [alias:  itj]
  cec upload-translation-job <name>                  Uploads translation job <name> to OCE server.                             [alias:  utj]
  cec create-translation-connector <name>            Creates translation connector <name>.                                     [alias:  ctc]
  cec start-translation-connector <name>             Starts translation connector <name>.                                      [alias:  stc]
  cec register-translation-connector <name>          Registers a translation connector.                                        [alias:  rtc]

Groups
  cec create-group <name>                            Creates an OCE group on OCE server.                                       [alias:   cg]
  cec delete-group <name>                            Deletes an OCE group on OCE server.                                       [alias:     ]
  cec add-member-to-group <name>                     Adds users and groups to an OCE group on OCE server.                      [alias: amtg]
  cec remove-member-from-group <name>                Removes users and groups from an OCE group on OCE server.                 [alias: rmfg]

Local Environment
  cec create-encryption-key <file>                   Create an encryption key to encrypt/decrypt password for servers.         [alias:  cek]
  cec register-server <name>                         Registers a OCE server.                                                   [alias:   rs]
  cec set-oauth-token <token>                        Set OAuth token for a registered server.                                  [alias:  sot]
  cec list                                           Lists local or server resources.                                          [alias:    l]
  cec execute-get <endpoint>                         Makes an HTTP GET request to a REST API endpoint on OCE server            [alias: exeg]
  cec install                                        Creates source tree.                                                      [alias:    i]
  cec develop                                        Starts a test server.                                                     [alias:    d]
  cec sync-server                                    Starts a sync server.                                                     [alias:  scs]
  cec webhook-server                                 Starts a webhook server.                                                  [alias:  whs]

Options:
									 
  --version, -v  Show version number  [boolean]
  --help, -h     Show Help

------------------------
cec create-folder
------------------------
Usage: cec create-folder <name>

Create a folder or folder hierarchy on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --server, -s  <server> The registered OCE server
									

Examples:
  cec create-folder Projects         Creates folder Projects under the Home folder
  cec create-folder Projects/Blogs   Creates folder Projects under the Home folder and folder Blogs under Projects
  cec create-folder Projects -s UAT  Creates folder Projects under the Home folder on the registered server UAT

------------------------
cec share-folder
------------------------
Usage: cec share-folder <name>

Shares folder with users and groups on OCE server and assign a role. Specify the server with -s <server> or use the one specified in cec.properties file. The valid roles are

  manager
  contributor
  downloader
  viewer


Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --role, -r    The role [manager | contributor | downloader | viewer] to assign to the users or groups  [required]
  --server, -s  <server> The registered OCE server
									

Examples:
  cec share-folder Projects/Blogs -u user1,user2 -r manager            Share folder Projects/Blogs with user user1 and user2 and assign Manager role to them
  cec share-folder Projects/Blogs -u user1,user2 -g group1 -r manager  Share folder Projects/Blogs with user user1, user2 and group group1 and assign Manager role to them
  cec share-folder Projects/Blogs -g group1,group2 -r manager          Share folder Projects/Blogs with group group1 and group2 and assign Manager role to them
  cec share-folder Projects/Blogs -u user1,user2 -r manager -s UAT     Share folder Projects/Blogs with user user1 and user2 and assign Manager role to them on the registered server UAT

------------------------
cec unshare-folder
------------------------
Usage: cec unshare-folder <name>

Deletes user or group access to a shared folder on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --server, -s  <server> The registered OCE server
									

Examples:
  cec unshare-folder Projects/Blogs -u user1,user2
  cec unshare-folder Projects/Blogs -g group1,group2
  cec unshare-folder Projects/Blogs -u user1,user2 -g group1,group2
  cec unshare-folder Projects/Blogs -u user1,user2 -s UAT

------------------------
cec list-folder
------------------------
Usage: cec list-folder <path>

Displays folder and all its content on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --server, -s  The registered OCE server

Examples:
  cec list-folder Releases/1
  cec list-folder Releases/1 -s UAT
  cec list-folder site:blog1
  cec list-folder theme:blog1Theme
  cec list-folder component:Comp1/assets

------------------------
cec download-folder
------------------------
Usage: cec download-folder <path>

Downloads folder and all its content from OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -f <folder> to save the folder on the local system.

Options:
  --help, -h    Show Help
  --folder, -f  <folder> Local folder to save the folder on OCE server
  --server, -s  <server> The registered OCE server
									

Examples:
  cec download-folder Releases/1                            Downloads folder Releases/1 from OCE server and save to local folder src/documents/
  cec download-folder /                                     Downloads all documents from OCE server and save to local folder src/documents/
  cec download-folder Releases/1 -s UAT                     Downloads folder Releases/1 from the registered server UAT and save to local folder src/documents/
  cec download-folder Releases/1 -f ~/Downloads             Downloads folder Releases/1 from OCE server and save to local folder ~/Download/
  cec download-folder Releases/1 -f .                       Downloads folder Releases/1 from OCE server and save to the current local folder
  cec download-folder site:blog1 -f ~/Downloads/blog1Files  Downloads all files of site blog1 and save to local folder ~/Download/blog1Files
  cec download-folder theme:blog1Theme                      Downloads all files of theme blog1Theme and save to local folder src/documents/blog1Theme/
  cec download-folder component:Comp1/assets                Downloads all files in folder assets of component Comp1 and save to local folder src/documents/Comp1/assets/

------------------------
cec upload-folder
------------------------
Usage: cec upload-folder <path>

Uploads folder and all its content to OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -f <folder> to set the parent folder on OCE server.

Options:
  --help, -h    Show Help
  --folder, -f  <folder> The parent folder on OCE server
  --server, -s  <server> The registered OCE server
									

Examples:
  cec upload-folder ~/Downloads/docs                               Uploads all content from ~/Downloads/docs to folder docs on the server
  cec upload-folder ~/Downloads/docs/                              Uploads all content from ~/Downloads/docs to the Home folder on the server
  cec upload-folder ~/Downloads/docs -f Mydoc                      Uploads all content from ~/Downloads/docs to folder Mydoc/docs on the server
  cec upload-folder ~/Downloads/docs/ -f Mydoc                     Uploads all content from ~/Downloads/docs to folder Mydoc on the server
  cec upload-folder ~/Downloads/docs -s UAT                        Uploads all content from ~/Downloads/docs to folder docs on the registered server UAT
  cec upload-folder ~/Downloads/docs/ -f site:blog1/settings/misc  Uploads all content from ~/Downloads/docs to folder settings/misc of site blog1
  cec upload-folder ~/Downloads/docs -f theme:blog1Theme           Uploads all content from ~/Downloads/docs to folder docs of theme blog1Theme
  cec upload-folder ~/Downloads/docs -f component:Comp1            Uploads all content from ~/Downloads/docs to folder docs of component Comp1

------------------------
cec delete-folder
------------------------
Usage: cec delete-folder <path>

Deletes folder and all its content on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -p to permanently delete the folder.

Options:
  --help, -h       Show Help
  --server, -s     <server> The registered OCE server
  --permanent, -p  Delete the folder permanently
									   

Examples:
  cec delete-folder Import/docs
  cec delete-folder Import/docs -s UAT
  cec delete-folder Import/docs -p
  cec delete-folder site:blog1/docs
  cec delete-folder theme:blog1Theme/docs
  cec delete-folder component:Comp1/docs

------------------------
cec download-file
------------------------
Usage: cec download-file <file>

Downloads file <file> from OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -f <folder> to save the file on the local system.

Options:
  --help, -h    Show Help
  --folder, -f  <folder> Local folder to save the file
  --server, -s  <server> The registered OCE server
									

Examples:
  cec download-file Releases/Projects.pdf                        Downloads the file from OCE server and save to local folder src/documents/
  cec download-file Releases/Projects.pdf -s UAT                 Downloads the file from the registered server UAT and save to local folder src/documents/
  cec download-file Releases/Projects.pdf -f ~/Downloads         Downloads the file from OCE server and save to local folder ~/Download/
  cec download-file Releases/Projects.pdf -f .                   Downloads the file from OCE server and save to the current local folder
  cec download-file site:blog1/siteinfo.json                     Downloads the file from folder blog1 and save to local folder src/documents/blog1
  cec download-file theme:blog1Theme/designs/default/design.css  Downloads the css file from folder designs/default of theme blog1Theme and save to local folder src/documents/blog1Theme/designs/default/
  cec download-file component:Comp1/assets/render.js             Downloads the js file from folder assets of component Comp1 and save to local folder src/documents/Comp1/assets/

------------------------
cec upload-file
------------------------
Usage: cec upload-file <file>

Uploads file <file> to OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -f <folder> to set the parent folder on OCE server.

Options:
  --help, -h    Show Help
  --folder, -f  <folder> The parent folder on OCE server
  --server, -s  <server> The registered OCE server
									

Examples:
  cec upload-file ~/Documents/Projects.pdf                                    Uploads the file to the Home folder
  cec upload-file ~/Documents/Projects.pdf -s UAT                             Uploads the file to the Home folder on the registered server UAT
  cec upload-file ~/Documents/Projects.pdf -f Doc/Plan                        Uploads the file to folder Doc/Plan
  cec upload-file ~/Documents/Projects.pdf -f site:blog1/settings/misc        Uploads the file to folder settings/misc of site blog1
  cec upload-file ~/Documents/style1.css -f theme:blog1Theme/designs/default  Uploads the css file to folder designs/default of theme blog1Theme
  cec upload-file ~/Documents/comp1.js -f component:Comp1/assets              Uploads the js file to folder assets of component Comp1

------------------------
cec delete-file
------------------------
Usage: cec delete-file <file>

Deletes file on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -p to permanently delete the file.

Options:
  --help, -h       Show Help
  --server, -s     <server> The registered OCE server
  --permanent, -p  Delete the file permanently
									   

Examples:
  cec delete-file docs/Projects.pdf
  cec delete-file docs/Projects.pdf -s UAT
  cec delete-file docs/Projects.pdf -p
  cec delete-file site:blog1/docs/Projects.pdf
  cec delete-file theme:blog1Theme/docs/Projects.pdf
  cec delete-file component:Comp1/docs/Projects.pdf

------------------------
cec create-component
------------------------
Usage: cec create-component <name>

Creates the component <name>. By default, it creates a local component. Optionally specify -f <source> to create from a different source.

Valid values for <source> are:
  local
  local-template
  local-iframe
  remote
  sectionlayout
  Sample-File-List
  Sample-Folder-List
  Sample-Documents-Manager
  Sample-Process-Start-Form
  Sample-Process-Task-List
  Sample-Process-Task-Details
  Sample-Stocks-Embedded
  Sample-Text-With-Image
  Sample-To-Do
  Anchor
  ContentForm
  Document-Search
  JET-CCA-Demo-Card
  MapFieldEditor
  Sample-OPA-Interview
  SimpleHTML
  SliderFieldEditor
  TextFieldEditor


Options:
  --help, -h  Show Help
  --from, -f  <from> Source to create from
								  

Examples:
  cec create-component Comp1
  cec create-component Comp2 -f Sample-File-List

------------------------
cec copy-component
------------------------
Usage: cec copy-component <source> [<destination>]

Copies an existing component named <source> to <destination>. <source> is a folder name from src/components

Options:
  --help, -h  Show Help

Examples:
  cec copy-component Sample-To-Do Comp1  Copies Sample-To-Do to Comp1.

------------------------
cec import-component
------------------------
Usage: cec import-component <zip>

Imports a component from <zip>. Specify the absolute path of the zip file. The zip file name will be used as the component name.

Options:
  --help, -h  Show Help

Examples:
  cec import-component /home/Comp1.zip  Imports the component Comp1.

------------------------
cec export-component
------------------------
Usage: cec export-component <name>

Exports the component <name> as a zip file.

Options:
  --help, -h  Show Help

Examples:
  cec export-component Sample-To-Do  Exports the component Sample-To-Do.

------------------------
cec download-component
------------------------
Usage: cec download-component <names>

Downloads the components <names> from the Content and Experience server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --server, -s  <server> The registered OCE server
									

Examples:
  cec download-component Sample-To-Do
  cec download-component Sample-To-Do,Sample-To-Do2
  cec download-component Sample-To-Do -s UAT

------------------------
cec upload-component
------------------------
Usage: cec upload-component <names>

Uploads the components <names> to the Content and Experience server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -p to publish the component after deploy. Optionally specify -f <folder> to set the folder to upload the component zip file.

Options:
  --help, -h     Show Help
  --folder, -f   <folder> Folder to upload the component zip file
  --publish, -p  Publish the component
  --server, -s   <server> The registered OCE server
									 

Examples:
  cec upload-component Sample-To-Do                       Uploads the component Sample-To-Do to the server specified in cec.properties.
  cec upload-component Sample-To-Do -s UAT                Uploads the component Sample-To-Do to the registered server UAT.
  cec upload-component Sample-To-Do -p                    Uploads and publishes the component Sample-To-Do.
  cec upload-component Sample-To-Do,Sample-To-Do2         Uploads component Sample-To-Do and Sample-To-Do2.
  cec upload-component Sample-To-Do -f Import/Components  Uploads file Sample-To-Do.zip to folder Import/Components and imports the component Sample-To-Do.

------------------------
cec control-component
------------------------
Usage: cec control-component <action>

Perform <action> on components on OCE server. Specify the components with -c <components>. Specify the server with -s <server> or use the one specified in cec.properties file. The valid actions are

  publish


Options:
  --help, -h        Show Help
  --components, -c  <components> The comma separated list of components  [required]
  --server, -s      <server> The registered OCE server
										

Examples:
  cec control-component publish -c Comp1               Publish component Comp1 on the server specified in cec.properties file
  cec control-component publish -c Comp1 -s UAT        Publish component Comp1 on the registered server UAT
  cec control-component publish -c Comp1,Comp2 -s UAT  Publish component Comp1 and Comp2 on the registered server UAT

------------------------
cec share-component
------------------------
Usage: cec share-component <name>

Shares component with users and groups on OCE server and assign a role. Specify the server with -s <server> or use the one specified in cec.properties file. The valid roles are

  manager
  contributor
  downloader
  viewer


Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --role, -r    The role [manager | contributor | downloader | viewer] to assign to the users or groups  [required]
  --server, -s  <server> The registered OCE server
									

Examples:
  cec share-component Comp1 -u user1,user2 -r manager                   Share component Comp1 with user user1 and user2 and assign Manager role to them
  cec share-component Comp1 -u user1,user2 -g group1,group2 -r manager  Share component Comp1 with user user1 and user2 and group group1 and group2 and assign Manager role to them
  cec share-component Comp1 -u user1,user2 -r manager -s UAT            Share component Comp1 with user user1 and user2 and assign Manager role to them on the registered server UAT

------------------------
cec unshare-component
------------------------
Usage: cec unshare-component <name>

Deletes user or group access to a component on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --server, -s  <server> The registered OCE server
									

Examples:
  cec unshare-component Comp1 -u user1,user2
  cec unshare-component Comp1 -u user1,user2 -g group1,group2
  cec unshare-component Comp1 -u user1,user2 -s UAT

------------------------
cec create-template
------------------------
Usage: cec create-template <name>

Creates the template <name>. By default, it creates a StarterTemplate. Optionally specify -f <source> to create from different source.

Valid values for <source> are:
  CafeSupremoLite
  JETStarterTemplate
  StarterTemplate
  BlogTemplate
  VBCSSamplesTemplate
  search_template

 To create template based on a site on OCE server, specify -s <site> and specify the server with -r <server> or use the one specified in cec.properties file.

Options:
  --help, -h                Show Help
  --from, -f                <source> Source to create from
  --site, -s                <site> Site to create from
  --excludecontent, -x      Exclude content
  --enterprisetemplate, -e  Enterprise template
  --server, -r              <server> The registered OCE server
												

Examples:
  cec create-template Temp1
  cec create-template Temp2 -f CafeSupremoLite
  cec create-template Temp1 -s Site1                       Create template Temp1 based on site Site1 on OCE server
  cec create-template Temp1 -s Site1 -x                    Create template Temp1 based on site Site1 on OCE server and exclude the content in the site
  cec create-template Temp1 -s Site1 -r UAT                Create template Temp1 based on site Site1 on the registered server UAT
  cec create-template EnterpriseTemp1 -s StandardSite1 -e  Create enterprise template EnterpriseTemp1 based on standard site StandardSite1 on OCE server

------------------------
cec create-template-from-site
------------------------
Usage: cec create-template-from-site <name>

Creates the template <name> from site <site> on the Content and Experience server. Specify the server with -r <server> or use the one specified in cec.properties file. Optionally specify <includeunpublishedassets> to include unpublished content items and digital assets in your template.

Options:
  --help, -h                      Show Help
  --site, -s                      <site> Site to create from  [required]
  --includeunpublishedassets, -i  flag to indicate to include unpublished content items and digital assets in your template
  --enterprisetemplate, -e        Enterprise template
  --server, -r                    <server> The registered OCE server
													  

Examples:
  cec create-template-from-site BlogTemplate -s BlogSite
  cec create-template-from-site BlogTemplate -s BlogSite -r UAT
  cec create-template-from-site BlogTemplate -s BlogSite -i -r UAT
  cec create-template-from-site EnterpriseTemplate -s StandardSite -e

------------------------
cec download-template
------------------------
Usage: cec download-template <name>

Downloads the template <name> from the Content and Experience server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --server, -s  <server> The registered OCE server
									

Examples:
  cec download-template BlogTemplate
  cec download-template BlogTemplate -s UAT

------------------------
cec compile-template
------------------------
Usage: cec compile-template <source>

Compiles all the pages within the site of the template and places the compiled pages under the sites assets folder.
Optionally specify -s <server> to make content queries against this server (requires channelToken).
Optionally specify -c <channelToken> to use this channelToken when generating any content URLs.
Optionally specify -t <contentType> [draft | published] content to retrieve from the server type, defaults to published.
Optionally specify -p <pages> the set of pages to compile.
Optionally specify -d <debug> to start the compilation with --inspect-brk flag.
Optionally specify -r <recurse> recurse through all child pages of specified pages.
Optionally specify -l <includeLocale> include default locale when creating pages.
Optionally specify -a <targetDevice> [desktop | mobile] target device type when using adaptive layouts.
Optionally specify -v <verbose> to display all warning messages during compilation.
Optionally specify -i <ignoreErrors> ignore compilation errors when calculating the exit code for the process.


Options:
  --help, -h                     Show Help
  --server, -s                   The registered OCE server
  --channelToken, -c             The channel access token to use for content URLs
  --type, -t                     The type of content to retrieve from the serve [published | draft]
  --pages, -p                    The list of pages to compile
  --recurse, -r                  Compile all child pages of those specifed in the page list
  --debug, -d                    Start the compiler with "--inspect-brk" option to debug compilation
  --noDetailPages, -e            Do not generate compiled detail pages
  --noDefaultDetailPageLink, -o  Do not generate compiled detail page for items/content lists that use the default detail page
  --targetDevice, -a             The target device type when using adaptive layouts [desktop | mobile]
  --siteName, -n                 The target site name to use when compiling the template
  --secureSite, -u               The target site is a secure site
  --includeLocale, -l            Include default locale when creating pages
  --verbose, -v                  Run in verbose mode to display all warning messages during compilation.
  --ignoreErrors, -i             Ignore compilation errors when calculating the exit code for the process.
													 

Examples:
  cec compile-template Temp1                                  Compiles the site in template Temp1 using content stored in the template.
  cec compile-template Temp1 -c channelToken                  Compiles the site in template Temp1 using the given channelToken for any content URLs.
  cec compile-template Temp1 -c channelToken -s UAT -t draft  Compiles the site in template Temp1 retrieving draft content from the specified server.
  cec compile-template Temp1 -p 104,112,183 -r                Compiles the specified pages in the site in template Temp1 including all child pages.
  cec compile-template Temp1 -d                               Waits for the debugger to be attached.  Once attached, compiles the site in template Temp1.

------------------------
cec copy-template
------------------------
Usage: cec copy-template <source> [<destination>]

Copies an existing template named <source> to <destination>. <source> is a folder name from src/templates

Options:
  --help, -h  Show Help

Examples:
  cec copy-template Temp1 Temp2  Copies Temp1 to Temp2.

------------------------
cec import-template
------------------------
Usage: cec import-template <zip>

Imports a template from <zip>. Specify the absolute path of the zip file. The zip file name will be used as the template name.

Options:
  --help, -h  Show Help

Examples:
  cec import-template /home/Temp1.zip  Imports the template Temp1.

------------------------
cec export-template
------------------------
Usage: cec export-template <name>

Exports the template <name> as a zip file and provides the location of the zip file.

Options:
  --help, -h      Show Help
  --optimize, -o  Optimize the template
									  

Examples:
  cec export-template Temp1  Exports the template Temp1.

------------------------
cec upload-template
------------------------
Usage: cec upload-template <name>

Uploads the template <name> to the Content and Experience server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -f <folder> to set the folder to upload the template zip file. Optionally specify -p to publish theme and components after import.

Options:
  --help, -h                    Show Help
  --folder, -f                  <folder> Folder to upload the template zip file
  --server, -s                  <server> The registered OCE server
  --optimize, -o                Optimize the template
  --excludecontenttemplate, -x  Exclude content template
  --excludecomponents, -e       Exclude components
  --publish, -p                 Publish theme and components
													

Examples:
  cec upload-template StarterTemplate                      Uploads the template StarterTemplate.
  cec upload-template StarterTemplate -s UAT               Uploads the template StarterTemplate to the registered server UAT.
  cec upload-template StarterTemplate -f Import/Templates  Uploads file StarterTemplate.zip to folder Import/Templates and imports the template StarterTemplate.
  cec upload-template StarterTemplate -p                   Publish the theme and all components in StarterTemplate.zip after import
  cec upload-template StarterTemplate -o                   Optimizes and uploads the template StarterTemplate.
  cec upload-template StarterTemplate -x                   Exclude the "Content Template" from the template upload. "Content Template" upload can be managed independently.
  cec upload-template StarterTemplate -e                   Exclude all components from the template upload. Components can be uploaded independently.

------------------------
cec delete-template
------------------------
Usage: cec delete-template <name>

Deletes the template <name> on the Content and Experience server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -p to permanently delete the template.

Options:
  --help, -h       Show Help
  --server, -s     <server> The registered OCE server
  --permanent, -p  flag to indicate to permanently delete the template
									   

Examples:
  cec delete-template BlogTemplate
  cec delete-template BlogTemplate -p
  cec delete-template BlogTemplate -s UAT

------------------------
cec share-template
------------------------
Usage: cec share-template <name>

Shares template with users and groups on OCE server and assign a role. Specify the server with -s <server> or use the one specified in cec.properties file. The valid roles are

  manager
  contributor
  downloader
  viewer


Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --role, -r    The role [manager | contributor | downloader | viewer] to assign to the users or groups  [required]
  --server, -s  <server> The registered OCE server
									

Examples:
  cec share-template Template1 -u user1,user2 -r manager                   Share template Template1 with user user1 and user2 and assign Manager role to them
  cec share-template Template1 -u user1,user2 -g group1,group2 -r manager  Share template Template1 with user user1 and user2 and group group1 and group2 and assign Manager role to them
  cec share-template Template1 -u user1,user2 -r manager -s UAT            Share template Template1 with user user1 and user2 and assign Manager role to them on the registered server UAT

------------------------
cec unshare-template
------------------------
Usage: cec unshare-template <name>

Deletes user or group access to a template on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --server, -s  <server> The registered OCE server
									

Examples:
  cec unshare-template Template1 -u user1,user2
  cec unshare-template Template1 -u user1,user2 -g group1,group2
  cec unshare-template Template1 -u user1,user2 -s UAT

------------------------
cec update-template
------------------------
Usage: cec update-template <action>

Performs action <action> on a local template. Optionally specify -c for other local content.  The valid actions are

  rename-asset-id


Options:
  --help, -h      Show Help
  --template, -t  The template  [required]
  --content, -c   The comma separated list of local content
									  

Examples:
  cec update-template rename-asset-id -t Template1
  cec update-template rename-asset-id -t Template1 -c Content1,Content2

------------------------
cec describe-template
------------------------
Usage: cec describe-template <name>

Describes the template <name> package such as theme, components and content types.

Options:
  --help, -h  Show Help

Examples:
  cec describe-template StarterTemplate  Describes the template StarterTemplate package

------------------------
cec create-template-report
------------------------
Usage: cec create-template-report <name>

Generates an asset usage report for the template <name> package. Optionally specify -o to save the report to a json file.

Options:
  --help, -h              Show Help
  --includepagelinks, -i  Include validating page links
  --output, -o            Output the report to a JSON file
											  

Examples:
  cec create-template-report StarterTemplate
  cec create-template-report StarterTemplate -o                                         The report will be saved to StarterTemplateAssetUsage.json at the current local location
  cec create-template-report StarterTemplate -o ~/Documents                             The report will be saved to ~/Documents/StarterTemplateAssetUsage.json
  cec create-template-report StarterTemplate -o ~/Documents/StarterTemplateReport.json  The report will be saved to ~/Documents/StarterTemplateReport.json
  cec create-template-report StarterTemplate -i                                         Include validating page links

------------------------
cec add-component-to-theme
------------------------
Usage: cec add-component-to-theme <component>

Adds a component to a theme. Optionally specify -c <category> to set the component category.

Options:
  --help, -h      Show Help
  --theme, -t     <theme> Theme  [required]
  --category, -c  <category> component category
									  

Examples:
  cec add-component-to-theme Sample-To-Do -t BlogTheme
  cec add-component-to-theme Sample-To-Do -t BlogTheme -c Samples

------------------------
cec remove-component-from-theme
------------------------
Usage: cec remove-component-from-theme <component>

Removes a component from a theme.

Options:
  --help, -h   Show Help
  --theme, -t  <theme> Theme  [required]
								   

Examples:
  cec remove-component-from-theme Sample-To-Do -t BlogTheme

------------------------
cec control-theme
------------------------
Usage: cec control-theme <action>

Perform <action> on theme on OCE server. Specify the theme with -t <theme>. Specify the server with -s <server> or use the one specified in cec.properties file. The valid actions are

  publish


Options:
  --help, -h    Show Help
  --theme, -t   <theme> The theme  [required]
  --server, -s  <server> The registered OCE server
									

Examples:
  cec control-theme publish -t Theme1         Publish theme Theme1 on the server specified in cec.properties file
  cec control-theme publish -t Theme1 -s UAT  Publish theme Theme1 on the registered server UAT

------------------------
cec share-theme
------------------------
Usage: cec share-theme <name>

Shares theme with users and groups on OCE server and assign a role. Specify the server with -s <server> or use the one specified in cec.properties file. The valid roles are

  manager
  contributor
  downloader
  viewer


Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --role, -r    The role [manager | contributor | downloader | viewer] to assign to the users or groups  [required]
  --server, -s  <server> The registered OCE server
									

Examples:
  cec share-theme Theme1 -u user1,user2 -r manager                   Share theme Theme1 with user user1 and user2 and assign Manager role to them
  cec share-theme Theme1 -u user1,user2 -g group1,group2 -r manager  Share theme Theme1 with user user1 and user2 and group group1 and group2 and assign Manager role to them
  cec share-theme Theme1 -u user1,user2 -r manager -s UAT            Share theme Theme1 with user user1 and user2 and assign Manager role to them on the registered server UAT

------------------------
cec unshare-theme
------------------------
Usage: cec unshare-theme <name>

Deletes user or group access to a theme on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --server, -s  <server> The registered OCE server
									

Examples:
  cec unshare-theme Theme1 -u user1,user2
  cec unshare-theme Theme1 -u user1,user2 -g group1,group2
  cec unshare-theme Theme1 -u user1,user2 -s UAT

------------------------
cec create-site
------------------------
Usage: cec create-site <name>

Create Enterprise Site on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h                Show Help
  --template, -t            <template> Template  [required]
  --repository, -r          <repository> Repository, required for enterprise site
  --localizationPolicy, -l  <localizationPolicy> Localization policy
  --defaultLanguage, -d     <defaultLanguage> Default language, required for enterprise site
  --description, -p         <description> Site description
  --sitePrefix, -x          <sitePrefix> Site Prefix
  --update, -u              Keep the existing id for assets
  --server, -s              <server> The registered OCE server
												

Examples:
  cec create-site Site1 -t StandardTemplate                                  Creates a standard site
  cec create-site Site1 -t Template1 -r Repository1 -l L10NPolicy1 -d en-US  Creates an enterprise site with localization policy L10NPolicy1
  cec create-site Site1 -t Template1 -r Repository1 -d en-US                 Creates an enterprise site and uses the localization policy in Template1
  cec create-site Site1 -t Template1 -r Repository1 -d en-US -s UAT          Creates an enterprise site on server UAT
  cec create-site Site1 -t Template1 -u -r Repository1 -d en-US -s UAT       Creates an enterprise site on server UAT and keep the existing id for assets

------------------------
cec copy-site
------------------------
Usage: cec copy-site <name>

Copy Enterprise Site on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. If the site uses more than one repository, only the assets from the default repository will be copied.

Options:
  --help, -h         Show Help
  --target, -t       Target site  [required]
  --repository, -r   Repository, required for enterprise site
  --description, -d  Site description
  --sitePrefix, -x   Site Prefix
  --server, -s       The registered OCE server
										 

Examples:
  cec copy-site Site1 -t Site1Copy                           Copies a standard site
  cec copy-site Site1 -t Site1Copy -r Repository1            Copies an enterprise site
  cec copy-site Site1 -t Site1Copy -r Repository1 -x site1c  Copies an enterprise site and sets the site prefix to site1c

------------------------
cec update-site
------------------------
Usage: cec update-site <name>

Update Enterprise Site on OCE server using the content from the template. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h                    Show Help
  --template, -t                <template> Template  [required]
  --excludecontenttemplate, -x  Exclude content template
  --server, -s                  <server> The registered OCE server
													

Examples:
  cec update-site Site1 -t Template1     Updates site Site1 using the content from template Template1
  cec update-site Site1 -t Template1 -x  Updates site Site1 using the content from template Template1 excluding the "Content Template"

------------------------
cec transfer-site
------------------------
Usage: cec transfer-site <name>

Transfers a site from one OCE server to another. By default all assets are transferred, optionally specify -p to transfer only published assets. Specify the source server with -s <server> and the destination server with -d <destination>. If the site contains assets from other repositories, optionally provide the repository mapping otherwise those assets will not be transferred.

Options:
  --help, -h                Show Help
  --server, -s              The registered OCE server the site is from  [required]
  --destination, -d         The registered OCE server to create or update the site  [required]
  --repository, -r          Repository, required for creating enterprise site
  --localizationPolicy, -l  Localization policy, required for creating enterprise site
  --sitePrefix, -f          Site prefix
  --publishedassets, -p     The flag to indicate published assets only
  --repositorymappings, -m  The repositories for assets from other repositories
  --excludecontent, -x      Exclude content
  --excludecomponents, -e   Exclude components
  --excludetheme, -c        Exclude theme
  --excludetype, -t         Exclude content types
  --includestaticfiles, -i  Include site static files
  --suppressgovernance, -g  Suppress site governance controls
												

Examples:
  cec transfer-site Site1 -s DEV -d UAT -r Repository1 -l L10NPolicy1                                                             Creates site Site1 on server UAT based on site Site1 on server DEV
  cec transfer-site Site1 -s DEV -d UAT -r Repository1 -l L10NPolicy1 -p                                                          Creates site Site1 on server UAT based on site Site1 on server DEV with published assets
  cec transfer-site Site1 -s DEV -d UAT -r Repository1 -l L10NPolicy1 -x                                                          Creates site Site1 on server UAT based on site Site1 on server DEV without content
  cec transfer-site Site1 -s DEV -d UAT -r Repository1 -l L10NPolicy1 -e                                                          Creates site Site1 on server UAT based on site Site1 on server DEV without transferring components to server UAT
  cec transfer-site Site1 -s DEV -d UAT -r Repository1 -l L10NPolicy1 -e -c                                                       Creates site Site1 on server UAT based on site Site1 on server DEV without transferring components and theme to server UAT
  cec transfer-site Site1 -s DEV -d UAT -r Repository1 -l L10NPolicy1 -m "Shared Images:Shared Images,Shared Video:Shared Video"  Creates site Site1 on server UAT based on site Site1 on server DEV and transfter the assets from repository Shared Images and Shared Video
  cec transfer-site Site1 -s DEV -d UAT -r Repository1 -l L10NPolicy1 -i                                                          Creates site Site1 on server UAT based on site Site1 on server DEV with static files from DEV
  cec transfer-site Site1 -s DEV -d UAT                                                                                           Updates site Site1 on server UAT based on site Site1 on server DEV
  cec transfer-site StandardSite1 -s DEV -d UAT                                                                                   Creates standard site on server UAT based on site StandardSite1 on server DEV

------------------------
cec transfer-site-content
------------------------
Usage: cec transfer-site-content <name>

Creates scripts to transfer Enterprise Site content from one OCE server to another. This command is used to transfer large number of content items and the items are transferred in batches. By default the scripts will not be executed by this command. By default all assets are transferred, optionally specify -p to transfer only published assets. Specify the source server with -s <server> and the destination server with -d <destination>. Optionally specify -n for the number of items in each batch, defaults to 500. If the site contains assets from other repositories, optionally provide the repository mapping otherwise those assets will not be transferred.

Options:
  --help, -h                Show Help
  --server, -s              The registered OCE server the site is from  [required]
  --destination, -d         The registered OCE server to transfer the content  [required]
  --repository, -r          The site repository  [required]
  --publishedassets, -p     The flag to indicate published assets only
  --repositorymappings, -m  The repositories for assets from other repositories
  --number, -n              The number of items in each batch, defaults to 500
  --execute, -e             Execute the scripts
												

Examples:
  cec transfer-site-content Site1 -s DEV -d UAT -r Repository1                                                             Generate script Site1_downloadcontent and Site1_uploadcontent
  cec transfer-site-content Site1 -s DEV -d UAT -r Repository1 -e                                                          Generate script Site1_downloadcontent and Site1_uploadcontent and execute them
  cec transfer-site-content Site1 -s DEV -d UAT -r Repository1 -n 200                                                      Set batch size to 200 items
  cec transfer-site-content Site1 -s DEV -d UAT -r Repository1 -p                                                          Only the published assets will be transferred
  cec transfer-site-content Site1 -s DEV -d UAT -r Repository1 -l                                                          The assets from the site repository will be added to site default collection on destination server
  cec transfer-site-content Site1 -s DEV -d UAT -r Repository1 -m "Shared Images:Shared Images,Shared Video:Shared Video"
  cec transfer-site-content Site1 -s DEV -d UAT -r Repository1 -p
  cec transfer-site-content Site1 -s DEV -d UAT -r Repository1 -m "Shared Images:Shared Images,Shared Video:Shared Video"

------------------------
cec validate-site
------------------------
Usage: cec validate-site <name>

Validates site <name> on OCE server before publish or view publishing failure. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --server, -s  <server> The registered OCE server
									

Examples:
  cec validate-site Site1         Validate site Site1 on the server specified in cec.properties file
  cec validate-site Site1 -s UAT  Validate site Site1 on the registered server UAT

------------------------
cec control-site
------------------------
Usage: cec control-site <action>

Perform <action> on site on OCE server. Specify the site with -s <site>. Specify the server with -r <server> or use the one specified in cec.properties file. The valid actions are

  publish
  unpublish
  bring-online
  take-offline


Options:
  --help, -h             Show Help
  --site, -s             <site> Site  [required]
  --usedcontentonly, -u  Publish used content only
  --compilesite, -c      Compile site after publish
  --staticonly, -t       Only publish site static files
  --fullpublish, -f      Do a full publish
  --server, -r           <server> The registered OCE server
											 

Examples:
  cec control-site publish -s Site1              Publish site Site1 on the server specified in cec.properties file
  cec control-site publish -s Site1 -u           Publish the site and all assets added to the site's pages
  cec control-site publish -s Site1 -c           Compile and publish site Site1
  cec control-site publish -s Site1 -t           Only publish the static files of site Site1
  cec control-site publish -s Site1 -f           Do a full publish of Site1
  cec control-site publish -s Site1 -r UAT       Publish site Site1 on the registered server UAT
  cec control-site unpublish -s Site1 -r UAT     Unpublish site Site1 on the registered server UAT
  cec control-site bring-online -s Site1 -r UAT  Bring site Site1 online on the registered server UAT
  cec control-site take-offline -s Site1 -r UAT  Take site Site1 offline on the registered server UAT

------------------------
cec share-site
------------------------
Usage: cec share-site <name>

Shares site with users and groups on OCE server and assign a role. Specify the server with -s <server> or use the one specified in cec.properties file. The valid roles are

  manager
  contributor
  downloader
  viewer


Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --role, -r    The role [manager | contributor | downloader | viewer] to assign to the users or groups  [required]
  --server, -s  <server> The registered OCE server
									

Examples:
  cec share-site Site1 -u user1,user2 -r manager                   Share site Site1 with user user1 and user2 and assign Manager role to them
  cec share-site Site1 -u user1,user2 -g group1,group2 -r manager  Share site Site1 with user user1 and user2 and group group1 and group2 and assign Manager role to them
  cec share-site Site1 -u user1,user2 -r manager -s UAT            Share site Site1 with user user1 and user2 and assign Manager role to them on the registered server UAT

------------------------
cec unshare-site
------------------------
Usage: cec unshare-site <name>

Deletes user or group access to a site on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --server, -s  <server> The registered OCE server
									

Examples:
  cec unshare-site Site1 -u user1,user2
  cec unshare-site Site1 -u user1,user2 -g group1,group2
  cec unshare-site Site1 -u user1,user2 -s UAT

------------------------
cec get-site-security
------------------------
Usage: cec get-site-security <name>

Gets site security on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --server, -s  <server> The registered OCE server
									

Examples:
  cec get-site-security Site1
  cec get-site-security Site1 -s UAT

------------------------
cec set-site-security
------------------------
Usage: cec set-site-security <name>

Makes the site publicly available to anyone, restrict the site to registered users, or restrict the site to specific users.  Specify the server with -r <server> or use the one specified in cec.properties file. Optionally specify -a <access> to set who can access the site. The valid group names are

  Cloud users
  Visitors
  Service users
  Specific users


Options:
  --help, -h         Show Help
  --signin, -s       If require sign in to access site: yes | no  [required]
  --access, -a       The comma separated list of group names
  --addusers, -u     The comma separated list of users to access the site
  --deleteusers, -d  The comma separated list of users to remove access from the site
  --server, -r       <server> The registered OCE server
										 

Examples:
  cec set-site-security Site1 -s no                                      make the site publicly available to anyone
  cec set-site-security Site1 -s no -r UAT                               make the site publicly available to anyone on server UAT
  cec set-site-security Site1 -s yes                                     Require everyone to sign in to access this site and any authenticated user can access
  cec set-site-security Site1 -s yes -a "Visitors,Service users"         Require everyone to sign in to access this site and all service visitors and users can access
  cec set-site-security Site1 -s yes -a "Specific users" -u user1,user2  Require everyone to sign in to access this site and only user1 and user2 can access
  cec set-site-security Site1 -s yes -d user1                            Remove user1's access from the site

------------------------
cec index-site
------------------------
Usage: cec index-site <site>

Creates content item for each page with all text on the page. If the page index content item already exists for a page, updated it with latest text on the page. Specify -c <contenttype> to set the page index content type. Optionally specify -p to publish the page index items after creation or update. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h         Show Help
  --contenttype, -c  <contenttype> page index content type
  --publish, -p      publish page index items
  --server, -s       <server> The registered OCE server
										 

Examples:
  cec index-site Site1 -c PageIndex
  cec index-site Site1 -c PageIndex -p
  cec index-site Site1 -c PageIndex -s UAT

------------------------
cec create-site-map
------------------------
Usage: cec create-site-map <site>

Creates a site map for site on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -p to upload the site map to OCE server after creation. Optionally specify -c <changefreq> to define how frequently the page is likely to change. Optionally specify -t <toppagepriority> as the priority for the top level pages. Also optionally specify <file> as the file name for the site map.

The valid values for <changefreq> are:

  always
  hourly
  daily
  weekly
  monthly
  yearly
  never
  auto


Options:
  --help, -h                     Show Help
  --url, -u                      <url> Site URL  [required]
  --changefreq, -c               How frequently the page is likely to change.
  --file, -f                     Name of the generated site map file
  --languages, -l                <languages> The comma separated list of languages used to create the site map
  --publish, -p                  Upload the site map to OCE server after creation
  --toppagepriority, -t          Priority for the top level pages, a decimal number between 0 and 1
  --server, -s                   <server> The registered OCE server
  --newlink, -n                  Generate new 19.3.3 detail page link
  --noDefaultDetailPageLink, -o  Do not generate detail page link for items/content lists that use the default detail page
													 

Examples:
  cec create-site-map Site1 -u http://www.example.com/site1
  cec create-site-map Site1 -u http://www.example.com/site1 -s UAT
  cec create-site-map Site1 -u http://www.example.com/site1 -t 0.9
  cec create-site-map Site1 -u http://www.example.com/site1 -f sitemap.xml
  cec create-site-map Site1 -u http://www.example.com/site1 -p
  cec create-site-map Site1 -u http://www.example.com/site1 -c weekly -p
  cec create-site-map Site1 -u http://www.example.com/site1 -l de-DE,it-IT

------------------------
cec create-rss-feed
------------------------
Usage: cec create-rss-feed <site>

Creates RSS feed for site <site> on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -x <template> to specify the RSS template. Optionally specify -p to upload the RSS feed to OCE server after creation.

Options:
  --help, -h         Show Help
  --url, -u          <url> Site URL  [required]
  --query, -q        Query for content items  [required]
  --limit, -l        The limit of the items returned from the query  [required]
  --orderby, -o      The order by for the query  [required]
  --language, -i     The language for the query
  --template, -x     The RSS xml template
  --javascript, -j   Javascript file that contains functions to process Mustache data
  --title, -t        The RSS feed title
  --description, -d  The RSS feed description
  --ttl              How long the data will last in number of minutes
  --file, -f         Name of the generated RSS feed file
  --publish, -p      Upload the RSS feed to OCE server after creation
  --server, -s       <server> The registered OCE server
  --newlink, -n      Generate new 19.3.3 detail page link
										 

Examples:
  cec create-rss-feed Site1 -u http://www.example.com/site1 -q 'type eq "BlogType"' -l 10 -o name:asc -t "Blog RSS"
  cec create-rss-feed Site1 -u http://www.example.com/site1 -q 'type eq "BlogType"' -l 10 -o name:asc -t "Blog RSS" -x ~/Files/RSSTemplate.xml
  cec create-rss-feed Site1 -u http://www.example.com/site1 -q 'type eq "BlogType"' -l 10 -o name:asc -t "Blog RSS" -x ~/Files/RSSTemplate.xml -i fr-FR -f rssfrFR.xml

------------------------
cec create-asset-report
------------------------
Usage: cec create-asset-report <site>

Generates an asset usage report for site <site> on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -o to save the report to a json file.

Options:
  --help, -h    Show Help
  --output, -o  Output the report to a JSON file
  --server, -s  The registered OCE server
									

Examples:
  cec create-asset-report Site1
  cec create-asset-report Site1 -s UAT
  cec create-asset-report Site1 -o                               The report will be saved to Site1AssetUsage.json at the current local location
  cec create-asset-report Site1 -o ~/Documents                   The report will be saved to ~/Documents/Site1AssetUsage.json
  cec create-asset-report Site1 -o ~/Documents/Site1Report.json  The report will be saved to ~/Documents/Site1Report.json

------------------------
cec upload-static-site-files
------------------------
Usage: cec upload-static-site-files <path>

Uploads files to render statically from a site on OCE server. Specify the site <site> on the server. Specify the server with -r <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --site, -s    The site on OCE server  [required]
  --server, -r  The registered OCE server
									

Examples:
  cec upload-static-site-files ~/Documents/localBlog -s BlogSite
  cec upload-static-site-files ~/Documents/localBlog -s BlogSite -r UAT

------------------------
cec download-static-site-files
------------------------
Usage: cec download-static-site-files <site>

Downloads the static files from a site on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -f <folder> to save the files on the local system.

Options:
  --help, -h    Show Help
  --folder, -f  <folder> Local folder to save the static files
  --server, -s  The registered OCE server
									

Examples:
  cec download-static-site-files BlogSite                                 Download the files and save to local folder src/documents/BlogSite/static
  cec download-static-site-files BlogSite -f ~/Documents/BlogSite/static  Download the files and save to local folder ~/Documents/BlogSite/static
  cec download-static-site-files BlogSite -s UAT

------------------------
cec delete-static-site-files
------------------------
Usage: cec delete-static-site-files <site>

Deletes the static files from a site on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --server, -s  The registered OCE server
									

Examples:
  cec delete-static-site-files BlogSite
  cec delete-static-site-files BlogSite -s UAT

------------------------
cec refresh-prerender-cache
------------------------
Usage: cec refresh-prerender-cache <site>

Refreshes pre-render cache for a site on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --server, -s  The registered OCE server
									

Examples:
  cec refresh-prerender-cache BlogSite
  cec refresh-prerender-cache BlogSite -s UAT

------------------------
cec migrate-site
------------------------
Usage: cec migrate-site <site>

Migrates a site from OCI IC server to EC server. Specify the IC server with -s <server> and the EC server with -d <destination>.

Options:
  --help, -h         Show Help
  --server, -s       The registered IC server the site is from
  --destination, -d  The registered EC server to create the site  [required]
  --repository, -r   Repository  [required]
  --template, -t     The site template
  --name, -n         Site name
  --description, -p  Site description
  --sitePrefix, -x   Site Prefix
										 

Examples:
  cec migrate-site Site1 -s ICServer -d ECServer -r Repo1                       Migrates site Site1 from ICServer to ECServer
  cec migrate-site Site1 -s ICServer -d ECServer -r Repo1 -n newSite            Migrates site Site1 from ICServer to ECServer and rename to newSite
  cec migrate-site Site1 -d ECServer -t ~/Documents/Site1Template.zip -r Repo1  Migrates site Site1 to ECServer with template Site1Template.zip from IC server

------------------------
cec download-content
------------------------
Usage: cec download-content

Downloads content from OCE server. By default all assets are downloaded, optionally specify -p to download only published assets. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h             Show Help
  --publishedassets, -p  The flag to indicate published assets only
  --collection, -c       Collection name
  --repository, -r       Repository name, required when <collection> is specified
  --query, -q            Query to fetch the assets
  --assets, -a           The comma separated list of asset GUIDS
  --assetsfile, -f       The file with an array of asset GUIDS
  --name, -n             The name for this download, default to the channel or repository name
  --server, -s           The registered OCE server
											 

Examples:
  cec download-content Site1Channel                                                           Download all assets in channel Site1Channel and save to local folder src/content/Site1Channel
  cec download-content Site1Channel -n Site1Assets                                            Download all assets in channel Site1Channel and save to local folder src/content/Site1Assets
  cec download-content Site1Channel -p                                                        Download published assets in channel Site1Channel
  cec download-content Site1Channel -s UAT                                                    Download all assets in channel Site1Channel on server UAT
  cec download-content Site1Channel -q 'fields.category eq "RECIPE"'                          Download assets from the channel Site1Channel, matching the query, plus any dependencies
  cec download-content Site1Channel -r Repo1 -c Collection1                                   Download assets from the repository Repo1, collection Collection1 and channel Site1Channel
  cec download-content Site1Channel -r Repo1 -c Collection1 -q 'fields.category eq "RECIPE"'  Download assets from repository Repo1, collection Collection1 and channel Site1Channel, matching the query, plus any dependencies
  cec download-content -a GUID1,GUID2                                                         Download asset GUID1 and GUID2 and all their dependencies
  cec download-content -r Repo1                                                               Download assets from the repository Repo1

Please specify the channel, repository, query or assets

------------------------
cec upload-content
------------------------
Usage: cec upload-content <name>

Uploads local content from channel <name>, template <name> or local file <name> to repository <repository> on OCE server. Specify -c <channel> to add the template content to channel. Optionally specify -l <collection> to add the content to collection. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h        Show Help
  --repository, -r  <repository> The repository for the types and items  [required]
  --template, -t    Flag to indicate the content is from template
  --file, -f        Flag to indicate the content is from file
  --channel, -c     <channel> The channel to add the content
  --collection, -l  <collection> The collection to add the content
  --server, -s      <server> The registered OCE server
  --update, -u      Update any existing content instead of creating new items
  --types, -p       Upload content types and taxonomies only
										

Examples:
  cec upload-content Site1Channel -r Repo1                            Upload content to repository Repo1, creating new items, and add to channel Site1Channel
  cec upload-content Site1Channel -r Repo1 -u                         Upload content to repository Repo1, updating existing content to create new versions, and add to channel Site1Channel
  cec upload-content Site1Channel -r Repo1 -l Site1Collection         Upload content to repository Repo1 and add to collection Site1Collection and channel Site1Channel
  cec upload-content Site1Channel -r Repo1 -p                         Upload content types from content SiteChannel to the server
  cec upload-content Site1Channel -r Repo1 -s UAT                     Upload content to repository Repo1 on server UAT and add to channel Site1Channel
  cec upload-content Template1 -t -r Repo1 -c channel1                Upload content from template Template1 to repository Repo1 and add to channel channel1
  cec upload-content ~/Downloads/content.zip -f -r Repo1 -c channel1  Upload content from file ~/Downloads/content.zip to repository Repo1 and add to channel channel1

------------------------
cec control-content
------------------------
Usage: cec control-content <action>

Performs action <action> on channel items on OCE server. Specify the channel with -c <channel>. Specify the server with -s <server> or use the one specified in cec.properties file. The valid actions are

  publish
  unpublish
  add
  remove


Options:
  --help, -h        Show Help
  --channel, -c     Channel
  --repository, -r  Repository, required when <action> is add
  --collection, -l  Collection
  --assets, -a      The comma separated list of asset GUIDS
  --server, -s      The registered OCE server
  --date, -d        Date to publish items
  --name, -n        Name of the scheduled publishing job to create
										

Examples:
  cec control-content publish -c Channel1                                            Publish all items in channel Channel1 on the server specified in cec.properties file
  cec control-content publish -c Channel1 -a GUID1,GUID2                             Publish asset GUID1 and GUID2 in channel Channel1
  cec control-content publish -c Channel1 -s UAT                                     Publish all items in channel Channel1 on the registered server UAT
  cec control-content unpublish -c Channel1 -s UAT                                   Unpublish all items in channel Channel1 on the registered server UAT
  cec control-content add -c Channel1 -r Repo1 -s UAT                                Add all items in repository Repo1 to channel Channel1 on the registered server UAT
  cec control-content add -c Channel1 -r Repo1 -a GUID1,GUID2 -s UAT                 Add asset GUID1 and GUID2 in repository Repo1 to channel Channel1
  cec control-content remove -c Channel1 -s UAT                                      Remove all items in channel Channel1 on the registered server UAT
  cec control-content add -l Collection1 -r Repo1 -s UAT                             Add all items in repository Repo1 to collection Collection1 on the registered server UAT
  cec control-content remove -l Collection -s UAT                                    Remove all items in collection Collection1 on the registered server UAT
  cec control-content publish -c C1 -r R1 -s UAT -d "2021/9/21 0:30:00 PST" -n Name  Create a publishing job called Name to publish all items in channel C1 on the specified date. Requires server version: 21.2.1

------------------------
cec transfer-content
------------------------
Usage: cec transfer-content <repository>

Creates scripts to transfer content from one OCE server to another. This command is used to transfer large number of content items and the items are transferred in batches. By default the scripts will not be executed by this command. By default all assets are transferred, optionally specify -p to transfer only published assets. Specify the source server with -s <server> and the destination server with -d <destination>. Optionally specify -n for the number of items in each batch, defaults to 200.

Options:
  --help, -h             Show Help
  --server, -s           The registered OCE server the content is from  [required]
  --destination, -d      The registered OCE server to transfer the content  [required]
  --channel, -c          The channel
  --publishedassets, -p  The flag to indicate published assets only
  --number, -n           The number of items in each batch, defaults to 200
  --execute, -e          Execute the scripts

Examples:
  cec transfer-content Repository1 -s DEV -d UAT                 Generate script Repository1_downloadcontent and Repository1_uploadcontent
  cec transfer-content Repository1 -s DEV -d UAT -e              Generate script Repository1_downloadcontent and Repository1_uploadcontent and execute them
  cec transfer-content Repository1 -s DEV -d UAT -n 1000          Set the number of items in each batch to 1000
  cec transfer-content Repository1 -s DEV -d UAT -c Channel1     Transfer the items added to channel Channel1 in repository Repository1
  cec transfer-content Repository1 -s DEV -d UAT -c Channel1 -p  Transfer the items published to channel Channel1 in repository Repository1

------------------------
cec list-assets
------------------------
Usage: cec list-assets

Lists assets on OCE server. Optionally specify -c <channel>, -r <repository>, -l <collection> or -q <query> to query assets. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h        Show Help
  --channel, -c     Channel name
  --collection, -l  Collection name
  --repository, -r  Repository name, required when <collection> is specified
  --query, -q       Query to fetch the assets
  --server, -s      The registered OCE server
										

Examples:
  cec list-assets                                   List all assets
  cec list-assets -s UAT                            List all assets on registered server UAT
  cec list-assets -r Repo1                          List all assets from repository Repo1
  cec list-assets -c Channel1                       List all assets from channel Channel1
  cec list-assets -r Repo1 -l Collection1           List all assets from collection Collection1 and repository Repo1
  cec list-assets -q 'fields.category eq "RECIPE"'  List all assets matching the query

------------------------
cec copy-assets
------------------------
Usage: cec copy-assets <repository>

Copies assets to another repository on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h        Show Help
  --collection, -l  Collection name
  --channel, -c     Channel name
  --query, -q       Query to fetch the assets
  --assets, -a      The comma separated list of asset GUIDS
  --target, -t      The target repository  [required]
  --server, -s      The registered OCE server
										

Examples:
  cec copy-assets Repo1 -t Repo2                                               Copy all assets in repository Repo1 to Repo2
  cec copy-assets Repo1 -t Repo2 -s UAT                                        Copy all assets in repository Repo1 to Repo2 on server UAT
  cec copy-assets Repo1 -a GUID1,GUID2 -t Repo2                                Copy asset GUID1 and GUID2 and all their dependencies in Repo1 to Repo2
  cec copy-assets Repo1 -q 'fields.category eq "RECIPE"' -t Repo2              Copy assets from repository Repo1, matching the query, plus any dependencies to Repo2
  cec copy-assets Repo1 -c Channel1 -t Repo2                                   Copy assets from the repository Repo1 and channel Channel1 to Repo2
  cec copy-assets Repo1 -l Collection1 -t Repo2                                Copy assets from the repository Repo1 and collection Collection1 to Repo2
  cec copy-assets Repo1 -c Channel1 -q 'fields.category eq "RECIPE"' -t Repo2  Copy assets from repository Repo1, channel Channel1, matching the query, plus any dependencies to Repo2

------------------------
cec create-asset-usage-report
------------------------
Usage: cec create-asset-usage-report <assets>

Generates an asset usage report for assets on OCE server. Optionally specify -o to save the report to a json file. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --output, -o  Output the report to a JSON file
  --server, -s  The registered OCE server
									

Examples:
  cec create-asset-usage-report GUID1
  cec create-asset-usage-report GUID1 -s UAT
  cec create-asset-usage-report GUID1 -o                        The report will be saved to GUID1AssetUsage.json
  cec create-asset-usage-report GUID1,GUID2 -o                  The report will be saved to GUID1_GUID2AssetUsage.json
  cec create-asset-usage-report GUID1,GUID2 -o ItemReport.json  The report will be saved to ItemReport.json

------------------------
cec create-repository
------------------------
Usage: cec create-repository <name>

Creates a repository on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -d <description> to set the description. Optionally specify -t <contenttypes> to set the content types. Optionally specify -c <channels> to set the publishing channels. Optionally specify -l <defaultlanguage> to set the default language. Optionally specify -p <type> to set the repository type. The valid repository types are

  asset
  business


Options:
  --help, -h             Show Help
  --description, -d      The description for the repository
  --type, -p             The repository type [asset | business]. Defaults to asset
  --contenttypes, -t     The comma separated list of content types for the repository
  --channels, -c         The comma separated list of publishing channels to use in this repository
  --defaultlanguage, -l  The default language
  --server, -s           The registered OCE server
											 

Examples:
  cec create-repository Repo1
  cec create-repository BusinessRepo -p business
  cec create-repository Repo1 -d "Blog Repository" -t BlogType,AuthorType -c channel1,channel2 -l en-US -s UAT

------------------------
cec control-repository
------------------------
Usage: cec control-repository <action>

Performs action <action> on repositories on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. The valid actions are

  add-type
  remove-type
  add-channel
  remove-channel
  add-taxonomy
  remove-taxonomy


Options:
  --help, -h          Show Help
  --repository, -r    The comma separated list of content repositories  [required]
  --contenttypes, -t  The comma separated list of content types
  --channels, -c      The comma separated list of publishing channels
  --taxonomies, -x    The comma separated list of promoted taxonomies
  --server, -s        The registered OCE server
										  

Examples:
  cec control-repository add-type -r Repo1 -t Blog,Author
  cec control-repository add-type -r Repo1,Repo2 -t Blog,Author
  cec control-repository add-type -r Repo1 -t Blog,Author -s UAT
  cec control-repository remove-type -r Repo1 -t Blog,Author
  cec control-repository add-channel -r Repo1 -c channel1,channel2
  cec control-repository remove-channel -r Repo1 -c channel1,channel2
  cec control-repository add-taxonomy -r Repo1 -x Taxonomy1,Taxonomy2
  cec control-repository remove-taxonomy -r Repo1 -x Taxonomy1,Taxonomy2

------------------------
cec share-repository
------------------------
Usage: cec share-repository <name>

Shares repository with users and groups on OCE server and assign a role. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -t to also share the content types in the repository with the users. Optionally specify -y <typerole> to share the types with different role. The valid roles for a repository are

  manager
  contributor
  viewer

The valid roles for a type are

  manager
  contributor


Options:
  --help, -h      Show Help
  --users, -u     The comma separated list of user names
  --groups, -g    The comma separated list of group names
  --role, -r      The role [manager | contributor | viewer] to assign to the users or groups  [required]
  --types, -t     Share types in the repository
  --typerole, -y  The role [manager | contributor] to assign to the users or groups for types
  --server, -s    <server> The registered OCE server
									  

Examples:
  cec share-repository Repo1 -u user1,user2 -r manager                    Share repository Repo1 with user user1 and user2 and assign Manager role to them
  cec share-repository Repo1 -u user1,user2 -g group1,group2 -r manager   Share repository Repo1 with user user1 and user2 and group group1 and group2 and assign Manager role to them
  cec share-repository Repo1 -u user1,user2 -r manager -s UAT             Share repository Repo1 with user user1 and user2 and assign Manager role to them on the registered server UAT
  cec share-repository Repo1 -u user1,user2 -r manager -t                 Share repository Repo1 and all the types in Repo1 with user user1 and user2 and assign Manager role to them
  cec share-repository Repo1 -u user1,user2 -r manager -t -y contributor  Share repository Repo1 with user user1 and user2 and assign Manager role to them, share all types in  Repo1 with user user1 and user2 and assign Contributor role to them

------------------------
cec unshare-repository
------------------------
Usage: cec unshare-repository <name>

Deletes user or group access to a repository on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -t to also delete the user or group access to the content types in the repository.

Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --types, -t   Remove the user or group access to types in the repository
  --server, -s  <server> The registered OCE server
									

Examples:
  cec unshare-repository Repo1 -u user1,user2
  cec unshare-repository Repo1 -u user1,user2 -g group1,group2
  cec unshare-repository Repo1 -u user1,user2 -s UAT
  cec unshare-repository Repo1 -u user1,user2 -t

------------------------
cec create-channel
------------------------
Usage: cec create-channel <name>

Creates a channel on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -t <type> to set the channel type [public | secure], defaults to public. Optionally specify -p <publishpolicy> to set the publish policy [anythingPublished | onlyApproved], defaults to anythingPublished. Optionally specify -l <localizationpolicy> to set the localization policy.

Options:
  --help, -h                Show Help
  --description, -d         The description for the channel
  --type, -t                The channel type [public | secure]
  --publishpolicy, -p       The publish policy [anythingPublished | onlyApproved]
  --localizationpolicy, -l  The localization policy for the channel
  --server, -s              The registered OCE server
												

Examples:
  cec create-channel channel1                            Create public channel channel1 and everything can be published
  cec create-channel channel1 -s UAT                     On registered server UAT, reate public channel channel1 and everything can be published
  cec create-channel channel1 -l en-fr                   Create public channel channel1 with localization policy en-fr and everything can be published
  cec create-channel channel1 -t secure -p onlyApproved  Create secure channel channel1 and only approved items can be published

------------------------
cec share-channel
------------------------
Usage: cec share-channel <name>

Shares channel with users and groups on OCE server and assign a role. Specify the server with -s <server> or use the one specified in cec.properties file. The valid roles are

  manager
  contributor
  viewer


Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --role, -r    The role [manager | contributor | viewer] to assign to the users or groups  [required]
  --server, -s  <server> The registered OCE server
									

Examples:
  cec share-channel Channel1 -u user1,user2 -r manager                   Share channel Channel1 with user user1 and user2 and assign Manager role to them
  cec share-channel Channel1 -u user1,user2 -g group1,group2 -r manager  Share channel Channel1 with user user1 and user2 and group group1 and group2 and assign Manager role to them
  cec share-channel Channel1 -u user1,user2 -r manager -s UAT            Share channel Channel1 with user user1 and user2 and assign Manager role to them on the registered server UAT

------------------------
cec unshare-channel
------------------------
Usage: cec unshare-channel <name>

Deletes user or group access to a channel on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --server, -s  <server> The registered OCE server
									

Examples:
  cec unshare-channel Channel1 -u user1,user2
  cec unshare-channel Channel1 -u user1,user2 -g group1,group2
  cec unshare-channel Channel1 -u user1,user2 -s UAT

------------------------
cec create-localization-policy
------------------------
Usage: cec create-localization-policy <name>

Creates a localization policy on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. Specify -r <requiredlanguages> to set the required languages. Specify -l <defaultlanguage> to set the default language.Optionally specify -o <optionallanguages> to set the optional languages. Optionally specify -d <description> to set the description.

Options:
  --help, -h               Show Help
  --requiredlanguages, -r  The comma separated list of required languages for the localization policy  [required]
  --defaultlanguage, -l    The default language  [required]
  --optionallanguages, -o  The comma separated list of optional languages for the localization policy
  --description, -d        The description for the repository
  --server, -s             The registered OCE server
											   

Examples:
  cec create-localization-policy en-us -r en-US -l en-US
  cec create-localization-policy en-fr -r en-US,fr-FR -l en-US
  cec create-localization-policy multi -r en-US,fr-FR -l en-US -o zh-CN -d "Policy for Blog" -s UAT

------------------------
cec list-server-content-types
------------------------
Usage: cec list-server-content-types

Lists all content types from server.

Options:
  --help, -h    Show Help
  --server, -s  <server> The registered OCE server
									

Examples:
  cec list-server-content-types
  cec list-server-content-types -s UAT

------------------------
cec share-type
------------------------
Usage: cec share-type <name>

Shares type with users and groups on OCE server and assign a role. Specify the server with -s <server> or use the one specified in cec.properties file. The valid roles are

  manager
  contributor


Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --role, -r    The role [manager | contributor] to assign to the users or groups  [required]
  --server, -s  <server> The registered OCE server
									

Examples:
  cec share-type BlogType -u user1,user2 -r manager                   Share type BlogType with user user1 and user2 and assign Manager role to them
  cec share-type BlogType -u user1,user2 -g group1,group2 -r manager  Share type BlogType with user user1 and user2 and group group1 and group2 and assign Manager role to them
  cec share-type BlogType -u user1,user2 -r manager -s UAT            Share type BlogType with user user1 and user2 and assign Manager role to them on the registered server UAT

------------------------
cec unshare-type
------------------------
Usage: cec unshare-type <name>

Deletes user or group access to a type on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --server, -s  <server> The registered OCE server
									

Examples:
  cec unshare-type BlogType -u user1,user2
  cec unshare-type BlogType -u user1,user2 -g group1,group2
  cec unshare-type BlogType -u user1,user2 -s UAT

------------------------
cec download-type
------------------------
Usage: cec download-type <name>

Downloads types from OCE server. The content field editors and forms for the types will also be downloaded. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --server, -s  <server> The registered OCE server
									

Examples:
  cec download-type BlogType             Download content type BlogType and save to local folder src/types/BlogType
  cec download-type BlogType,BlogAuthor  Download content type BlogType and BlogAuthor and save to local folder
  cec download-type BlogType -s UAT

------------------------
cec upload-type
------------------------
Usage: cec upload-type <name>

Uploads types to OCE server. The content field editors and forms for the types will also be uploaded. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --server, -s  <server> The registered OCE server
									

Examples:
  cec upload-type BlogType
  cec upload-type BlogType -s UAT
  cec upload-type BlogAuthor,BlogType  Place the referenced types first

------------------------
cec update-type
------------------------
Usage: cec update-type <action>

Performs action <action> on a type in a local template or on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file. The valid actions are

  add-content-form
  remove-content-form


Options:
  --help, -h             Show Help
  --objectname, -o       the content form  [required]
  --contenttype, -c      the content type  [required]
  --template, -t         The template the content type is from
  --contenttemplate, -t  Flag to indicate the template is a content template
  --server, -s           The registered OCE server
											 

Examples:
  cec update-type add-content-form -o form1 -c BlogPost -t BlogTemplate               Associate content form form1 with content type BlogPost from local template at src/templates/BlogTemplate
  cec update-type add-content-form -o form1 -c BlogPost -t BlogTemplateContent -n     Associate content form form1 with content type BlogPost from local template at src/content/BlogTemplateContent
  cec update-type add-content-form -o form1 -c BlogPost -s UAT                        Associate content form form1 with content type BlogPost on the registered server UAT
  cec update-type add-content-form -o form1 -c BlogPost -s                            Associate content form form1 with content type BlogPost on the server specified in cec.properties file
  cec update-type remove-content-form -o form1 -c BlogPost -t BlogTemplate            Change not to use form1 when create or edit items of type BlogPost from local template at src/templates/BlogTemplate
  cec update-type remove-content-form -o form1 -c BlogPost -t BlogTemplateContent -n  Change not to use form1 when create or edit items of type BlogPost from local template at src/content/BlogTemplateContent
  cec update-type remove-content-form -o form1 -c BlogPost -s UAT                     Change not to use form1 when create or edit items of type BlogPost on the registered server UAT

------------------------
cec download-recommendation
------------------------
Usage: cec download-recommendation <name>

Downloads a recommendation from the Content and Experience server. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify repository with -r <repository>. Optionally specify -p to download the published version.

Options:
  --help, -h        Show Help
  --repository, -r  The repository
  --published, -p   The flag to indicate published version
  --channel, -c     Channel name, required when <published> is set
  --server, -s      <server> The registered OCE server
										

Examples:
  cec download-recommendation Recommendation1                 Downloads Recommendation1
  cec download-recommendation Recommendation1 -p -c Channel1  Downloads Recommendation1 published to channel Channel1
  cec download-recommendation Recommendation1 -s UAT
  cec download-recommendation Recommendation1 -r Repo1

------------------------
cec upload-recommendation
------------------------
Usage: cec upload-recommendation <name>

Uploads a recommendation to repository <repository> on OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h        Show Help
  --repository, -r  The repository  [required]
  --server, -s      <server> The registered OCE server
										

Examples:
  cec upload-recommendation Recommendation1 -r Repo1
  cec upload-recommendation Recommendation1 -r Repo1 -s UAT

------------------------
cec create-contentlayout
------------------------
Usage: cec create-contentlayout <name>

Creates a content layout based on a content type from a local template or from OCE server. By default, an "overview" content layout is created. Optionally specify -s <style> to create in a different style.

Valid values for <style> are:
  detail
  overview


Options:
  --help, -h               Show Help
  --contenttype, -c        <contenttype> Content layout is based on  [required]
  --template, -t           <template> Content type is from
  --server, -r             The registered OCE server
  --style, -s              <style> Content layout style: detail | overview
  --addcustomsettings, -a  Add support for custom settings when used in Sites
											   

Examples:
  cec create-contentlayout Blog-Post-Overview-Layout -c Blog-Post -t BlogTemplate
  cec create-contentlayout Blog-Post-Detail-Layout -c Blog-Post -t BlogTemplate -s detail
  cec create-contentlayout Blog-Post-Overview-Layout -c Blog-Post -t BlogTemplate -a       Add custom settings when used in Sites
  cec create-contentlayout Blog-Post-Overview-Layout -c Blog-Post -r                       Use content type Blog-Post from the server specified in cec.properties file
  cec create-contentlayout Blog-Post-Overview-Layout -c Blog-Post -r UAT -s detail         Use content type Blog-Post from the registered server UAT

------------------------
cec add-contentlayout-mapping
------------------------
Usage: cec add-contentlayout-mapping <contentlayout>

Creates content type and content layout mapping. By default, the mapping is set for "Default". Optionally specify -s <layoutstyle> to name the mapping. By default, the mapping is set for desktop. Optionally specify -m to set the mapping for mobile.

Options:
  --help, -h         Show Help
  --contenttype, -c  <contenttype> Content layout is based on  [required]
  --template, -t     <template> The mapping is for
  --layoutstyle, -s  <style> Content layout style
  --mobile, -m       mobile mapping
  --server, -r       <server> The registered OCE server
										 

Examples:
  cec add-contentlayout-mapping Blog-Post-Detail-Layout -c Blog-Post -t BlogTemplate
  cec add-contentlayout-mapping Blog-Post-Detail-Layout -c Blog-Post -t BlogTemplate -m
  cec add-contentlayout-mapping Blog-Post-Detail-Layout -c Blog-Post -t BlogTemplate -s Details
  cec add-contentlayout-mapping Blog-Post-Overview-Layout -c Blog-Post -t BlogTemplate -s "Content List Default"
  cec add-contentlayout-mapping Blog-Post-Overview-Layout -c Blog-Post -t BlogTemplate -s Overview
  cec add-contentlayout-mapping Blog-Post-Overview-Layout -c Blog-Post -r UAT                                     Set "Content Item Default" to Blog-Post-Overview-Layout for content type Blog-Post on server UAT

------------------------
cec remove-contentlayout-mapping
------------------------
Usage: cec remove-contentlayout-mapping <contentlayout>

Removes a content layout mapping. By default, all mappings for the content layout are removed. Optionally specify -s <layoutstyle> to name the mapping and -m to indicate the mobile mapping.

Options:
  --help, -h         Show Help
  --contenttype, -c  Content type, required when <server> is specified
  --template, -t     <template> The mapping is from
  --layoutstyle, -s  <style> Content layout style
  --mobile, -m       mobile mapping
  --server, -r       <server> The registered OCE server
										 

Examples:
  cec remove-contentlayout-mapping Blog-Post-Detail-Layout -t BlogTemplate
  cec remove-contentlayout-mapping Blog-Post-Detail-Layout -t BlogTemplate -m
  cec remove-contentlayout-mapping Blog-Post-Detail-Layout -c Blog-Post -r UAT
  cec remove-contentlayout-mapping Blog-Post-Detail-Layout -c Blog-Post -s Details -r UAT

------------------------
cec add-field-editor
------------------------
Usage: cec add-field-editor <name>

Adds a field editor to a field in a content type.

Options:
  --help, -h             Show Help
  --template, -t         The template the content type is from  [required]
  --contenttype, -c      The content type  [required]
  --field, -f            The field the field editor is for  [required]
  --contenttemplate, -n  Flag to indicate the template is a content template
											 

Examples:
  cec add-field-editor editor1 -t BlogTemplate -c BlogPost -f summary            Use editor1 as the appearance for field summary in content type BlogPost from local template at src/templates/BlogTemplate
  cec add-field-editor editor1 -t BlogTemplateContent -n -c BlogPost -f summary  Use editor1 as the appearance for field summary in content type BlogPost from local template at src/content/BlogTemplateContent

------------------------
cec remove-field-editor
------------------------
Usage: cec remove-field-editor <name>

Removes a field editor from a field in a content type.

Options:
  --help, -h             Show Help
  --template, -t         The template the content type is from  [required]
  --contenttype, -c      The content type  [required]
  --field, -f            The field the field editor is for  [required]
  --contenttemplate, -n  Flag to indicate the template is a content template
											 

Examples:
  cec remove-field-editor editor1 -t BlogTemplate -c BlogPost -f summary            Remove editor1 as the appearance for field summary in content type BlogPost from local template at src/templates/BlogTemplate
  cec remove-field-editor editor1 -t BlogTemplateContent -n -c BlogPost -f summary  Remove editor1 as the appearance for field summary in content type BlogPost from local template at src/content/BlogTemplateContent

------------------------
cec migrate-content
------------------------
Usage: cec migrate-content <name>

Migrates content from OCI IC server to EC server. Specify the IC server with -s <server> and the EC server with -d <destination>.

Options:
  --help, -h         Show Help
  --server, -s       The registered IC server the content is from  [required]
  --destination, -d  The registered EC server to upload the content  [required]
  --repository, -r   The repository for the types and items  [required]
  --channel, -c      The channel to add the content
  --collection, -l   The collection to add the content
										 

Examples:
  cec migrate-content collection1 -s ICServer -d ECServer -r Repo1                               Migrates content from collection collection1 on ICServer to repository Repo1 on ECServer
  cec migrate-content collection1 -s ICServer -d ECServer -r Repo1 -l newCollection              Migrates content from collection collection1 on ICServer to repository Repo1 and collection newCollection on ECServer
  cec migrate-content collection1 -s ICServer -d ECServer -r Repo1 -l newCollection -c channel1  Migrates content from collection collection1 on ICServer to repository Repo1, collection newCollection and channel channel1 on ECServer

------------------------
cec compile-content
------------------------
Usage: cec compile-content

Compiles all the content items within the publishing job or list of assets and places the compiled renditions under the "dist" folder.
Specify -s <server> to make content queries against this server.
Optionally specify -a <assets> comma separated lists of assets.
Optionally specify -t <contentType> compile all published assets of this content type.
Optionally specify -i <repositoryId> Id of the repository for content type queries.
Optionally specify -d <debug> to start the compilation with --inspect-brk flag.
Optionally specify -v <verbose> to display all warning messages during compilation.


Options:
  --help, -h            Show Help
  --server, -s          The registered OCE server
  --assets, -a          The comma separated list of asset GUIDS
  --contenttype, -t     Compile all the published assets of this content type.
  --repositoryId, -i    Id of the repository for content type queries.
  --renditionJobId, -r  Server invoked rendition job id for a publishing job
  --debug, -d           Start the compiler with "--inspect-brk" option to debug compilation
  --verbose, -v         Run in verbose mode to display all warning messages during compilation.
											

Examples:
  cec compile-content publishingJobId -s UAT      Compiles the content items in the specified publishing job retrieving content from the server.
  cec compile-content publishingJobId -s UAT -d   Waits for the debugger to be attached.  Once attached, compiles the content in the specified publishing job.
  cec compile-content -a GUID1,GUID2 -s UAT       Compiles the assets by retrieving content from the specified server.
  cec compile-content -t Blog -i REPOGUID -s UAT  Compiles the published assets of this content type from the specified server.
Missing required parameters: <publishingJobId> or <assets> and <server>

------------------------
cec download-taxonomy
------------------------
Usage: cec download-taxonomy <name>

Downloads a taxonomy from OCE server. Optionally specify the taxonomy id with -i <id> if another taxonomy has the same name. Specify the server with -s <server> or use the one specified in cec.properties file. Specify the status of the taxonomy with -t and the valid values are

  promoted
  published


Options:
  --help, -h    Show Help
  --status, -t  The taxonomy status [promoted | published]  [required]
  --id, -i      Taxonomy Id
  --server, -s  The registered OCE server
									

Examples:
  cec download-taxonomy Taxonomy1 -t promoted
  cec download-taxonomy Taxonomy1 -i 6A6DC736572C468B90F2A1C17B7CE5E4 -t promoted
  cec download-taxonomy Taxonomy1 -t published -s UAT

------------------------
cec upload-taxonomy
------------------------
Usage: cec upload-taxonomy <taxonomy>

Uploads a taxonomy to OCE server. Specify -c <createnew> to create new taxonomy when one already exists. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h          Show Help
  --createnew, -c     To create new a taxonomy
  --name, -n          The name of the new taxonomy
  --abbreviation, -a  The abbreviation of the new taxonomy
  --description, -d   The description of the new taxonomy
  --file, -f          Flag to indicate the taxonomy is from file
  --server, -s        The registered OCE server
										  

Examples:
  cec upload-taxonomy Taxonomy1                                               Create a new taxonomy or a draft of existing taxonomy on upload
  cec upload-taxonomy Taxonomy1 -s UAT                                        Create a new taxonomy or a draft of existing taxonomy on upload on the registered server UAT
  cec upload-taxonomy Taxonomy1 -c                                            Create a new taxonomy on upload
  cec upload-taxonomy Taxonomy1 -c -n Taxonomy1_2 -a t12 -d "Taxonomy1 copy"  Create a new taxonomy on upload with given name, abbreviation and description
  cec upload-taxonomy ~/Documents/6A6DC736572C468B90F2A1C17B7CE5E4.json -f    Create a new taxonomy or a draft of existing taxonomy on upload the JSON file

------------------------
cec control-taxonomy
------------------------
Usage: cec control-taxonomy <action>

Perform <action> on taxonomy on OCE server. Specify the taxonomy with -n <name> or -i <id>. Specify the server with -s <server> or use the one specified in cec.properties file. The valid actions are

  promote
  publish
  unpublish


Options:
  --help, -h         Show Help
  --name, -n         Taxonomy name
  --id, -i           Taxonomy Id
  --publishable, -p  Allow publishing of this taxonomy, defaults to true
  --channels, -c     List of channels to publish or unpublish, required when <action> is publish or unpublish
  --server, -s       The registered OCE server
										 

Examples:
  cec control-taxonomy promote -n Taxonomy1                                  Promote taxonomy Taxonomy1 and allow publishing
  cec control-taxonomy promote -i 6A6DC736572C468B90F2A1C17B7CE5E4 -p false  Promote the taxonomy and not allow publishing
  cec control-taxonomy publish -n Taxonomy1 -c Channel1,Channel2
  cec control-taxonomy unpublish -n Taxonomy1 -c Channel1
  cec control-taxonomy publish -n Taxonomy1 -c Channel1 -s UAT

------------------------
cec list-translation-jobs
------------------------
Usage: cec list-translation-jobs

Lists translation jobs from local or from OCE server.

Options:
  --help, -h    Show Help
  --server, -s  The registered OCE server
									

Examples:
  cec list-translation-jobs         Lists local translation jobs
  cec list-translation-jobs -s      Lists translation jobs on the server specified in cec.properties file
  cec list-translation-jobs -s UAT  Lists translation jobs on the registered server UAT

------------------------
cec create-translation-job
------------------------
Usage: cec create-translation-job <name>

Creates a translation job <name> for a site on OCE server. Specify the server with -r <server> or use the one specified in cec.properties file. Specify -l <languages> to set the target languages, use "all" to select all languages from the translation policy. Optionally specify -c <connector> to set the translation connector. Optionally specify -t <type> to set the content type. The valid values for <type> are:

  siteAll
  siteItems
  siteAssets


Options:
  --help, -h       Show Help
  --site, -s       <site> Site  [required]
  --languages, -l  <languages> The comma separated list of languages used to create the translation job  [required]
  --connector, -c  The translation connector
  --type, -t       The type of translation job contents
  --server, -r     The registered OCE server
									   

Examples:
  cec create-translation-job job1 -s Site1 -l all
  cec create-translation-job job1 -s Site1 -l all -r UAT
  cec create-translation-job job1 -s Site1 -l de-DE,it-IT
  cec create-translation-job job1 -s Site1 -l de-DE,it-IT, -t siteItems
  cec create-translation-job job1 -s Site1 -l de-DE,it-IT -c Lingotek

------------------------
cec download-translation-job
------------------------
Usage: cec download-translation-job <name>

Downloads translation job <name> from OCE server. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h    Show Help
  --server, -s  The registered OCE server
									

Examples:
  cec download-translation-job Site1Job
  cec download-translation-job Site1Job -s UAT

------------------------
cec submit-translation-job
------------------------
Usage: cec submit-translation-job <name>

Submits translation job <name> to translation connection <connection>.

Options:
  --help, -h        Show Help
  --connection, -c  <connection> Connection  [required]
										

Examples:
  cec submit-translation-job Site1Job1 -c connector1-auto

------------------------
cec refresh-translation-job
------------------------
Usage: cec refresh-translation-job <name>

Refreshes translation job <name> from translation connection.

Options:
  --help, -h    Show Help
  --server, -s  The registered OCE server
									

Examples:
  cec refresh-translation-job Site1Job1
  cec refresh-translation-job Site1Job1 -s UAT  Refresh translation job Site1Job1 on the registered server UAT

------------------------
cec ingest-translation-job
------------------------
Usage: cec ingest-translation-job <name>

Gets translated job <name> from translation connection and ingest.

Options:
  --help, -h    Show Help
  --server, -s  The registered OCE server
									

Examples:
  cec ingest-translation-job Site1Job1         Ingest local translation job
  cec ingest-translation-job Site1Job1 -s DEV  Ingest translation job Site1Job1 on the registered server DEV

------------------------
cec upload-translation-job
------------------------
Usage: cec upload-translation-job <name>

Uploads translation <name> to OCE server, validate and then ingest the translations. Optionally specify -v to validate only. Optionally specify -f <folder> to set the folder to upload the translation zip file. Specify the server with -s <server> or use the one specified in cec.properties file.

Options:
  --help, -h          Show Help
  --folder, -f        <folder> Folder to upload the translation zip file
  --validateonly, -v  Validate translation job without import.
  --server, -s        The registered OCE server
										  

Examples:
  cec upload-translation-job Site1Job                            File will be uploaded to the Home folder.
  cec upload-translation-job Site1Job -s UAT                     File will be uploaded to the Home folder on registered server UAT
  cec upload-translation-job Site1Job -f Import/TranslationJobs  File will be uploaded to folder Import/TranslationJobs.
  cec upload-translation-job Site1Job -v                         Validate the translation job without import.

------------------------
cec create-translation-connector
------------------------
Usage: cec create-translation-connector <name>

Creates the translation connector <name>. By default, it creates a mockTranslationConnector. Optionally specify -f <source> to create from a different source.

Valid values for <source> are:
  mockTranslationConnector


Options:
  --help, -h  Show Help
  --from, -f  <source> to create from
								  

Examples:
  cec create-translation-connector connector1

------------------------
cec start-translation-connector
------------------------
Usage: cec start-translation-connector <name>

Starts translation connector <name>. Optionally specify -p <port> to set the port, default port is 8084.

Options:
  --help, -h   Show Help
  --port, -p   Set <port>. Defaults to 8084.
  --debug, -d  Start the translation connector server with "--inspect" option
								   

Examples:
  cec start-translation-connector connector1
  cec start-translation-connector connector1 -p 7777
  cec start-translation-connector connector1 -d       Start the translation connector server with "--inspect" option to allow debugger to be attached.

------------------------
cec register-translation-connector
------------------------
Usage: cec register-translation-connector <name>

Registers a translation connector. Specify -c <connector> for the connector. Specify -s <server> for the connector server URL. Specify -u <user> and -p <password> for connecting to the server. Specify -f <fields> for custom fields.

Options:
  --help, -h       Show Help
  --connector, -c  <connector> Connector name  [required]
  --server, -s     <server> Server URL  [required]
  --user, -u       <user> User name  [required]
  --password, -p   <password> password  [required]
  --fields, -f     <fields> translation connector custom fields
									   

Examples:
  cec register-translation-connector connector1-auto -c connector1 -s http://localhost:8084/connector/rest/api -u admin -p SamplePass1 -f "BearerToken:Bearer token1,WorkflowId:machine-workflow-id,AdditionalData:{}"

------------------------
cec create-group
------------------------
Usage: cec create-group <name>

Creates an OCE group on OCE server. Specify the server with -s <server>. Set the group type with -t <type>. The valid group types are

  PUBLIC_OPEN
  PUBLIC_CLOSED
  PRIVATE_CLOSED


Options:
  --help, -h    Show Help
  --type, -t    The group type [PUBLIC_OPEN | PUBLIC_CLOSED | PRIVATE_CLOSED]
  --server, -s  <server> The registered OCE server
									

Examples:
  cec create-group Group1                    Create group Group1, people can add themselves to the group and share content with the group
  cec create-group Group1 -t PUBLIC_CLOSED   Create group Group1, only group managers can add members but people can share content with the group
  cec create-group Group1 -t PRIVATE_CLOSED  Create group Group1, only group managers can add members and only members can share content with the group
  cec create-group Group1 -s DEV

------------------------
cec delete-group
------------------------
Usage: cec delete-group <name>

Deletes an OCE group on OCE server. Specify the server with -s <server>.

Options:
  --help, -h    Show Help
  --server, -s  <server> The registered OCE server
									

Examples:
  cec delete-group Group1
  cec delete-group Group1 -s DEV

------------------------
cec add-member-to-group
------------------------
Usage: cec add-member-to-group <name>

Adds users and groups to an OCE group and assign a role on OCE server. Specify the server with -s <server>. The valid roles are

  MANAGER
  MEMBER


Options:
  --help, -h    Show Help
  --users, -u   The comma separated list of user names
  --groups, -g  The comma separated list of group names
  --role, -r    The role [MANAGER | MEMBER] to assign to the users or groups  [required]
  --server, -s  The registered OCE server
									

Examples:
  cec add-member-to-group Group1 -u user1,user2 -g Group2,Group3 -r MEMBER
  cec add-member-to-group Group1 -u user1,user2 -g Group2,Group3 -r MEMBER -s DEV

------------------------
cec remove-member-from-group
------------------------
Usage: cec remove-member-from-group <name>

Removes users and groups from an OCE group on OCE server. Specify the server with -s <server>.

Options:
  --help, -h     Show Help
  --members, -m  The comma separated list of user and group names  [required]
  --server, -s   The registered OCE server
									 

Examples:
  cec remove-member-from-group Group1 -m user1,user2,Group2,Group3
  cec remove-member-from-group Group1 -m user1,user2,Group2,Group3 -s DEV

------------------------
cec create-encryption-key
------------------------
Usage: cec create-encryption-key <file>

Create an encryption key to encrypt/decrypt password for servers and save to <file>. Use NodeJS 10.12.0 or later.

Options:
  --help, -h  Show Help

Examples:
  cec create-encryption-key ~/.ceckey  Create encryption key and save to file ~/.ceckey

------------------------
cec register-server
------------------------
Usage: cec register-server <name>

Registers a OCE server. Specify -e <endpoint> for the server URL. Specify -u <user> and -p <password> for connecting to the server. Optionally specify -k <key> to encrypt the password. Optionally specify -t <type> to set the server type. The valid values for <type> are:

  pod_ec
  pod_ic
  dev_ec
  dev_pod
  dev_osso

and the default value is pod_ec.

For pod_ec server, optionlly specify <idcsurl>, <clientid>, <clientsecret> and <scope> for headless commands.

Options:
  --help, -h          Show Help
  --endpoint, -e      <endpoint> Server endpoint  [required]
  --user, -u          <user> User name  [required]
  --password, -p      <password> Password  [required]
  --key, -k           The key file used to encrypt the password
  --type, -t          <type> Server type
  --idcsurl, -i       <idcsurl> Oracle Identity Cloud Service Instance URL
  --clientid, -c      <clientid> Client ID
  --clientsecret, -s  <clientsecret> Client secret
  --scope, -o         <clientsecret> Scope
  --timeout, -m       Timeout in millisecond when try to login to the server. Defaults to 30000ms.
										  

Examples:
  cec register-server server1 -e http://server1.com -u user1 -p samplePass1 -i http://idcs1.com -c clientid -s clientsecret -o https://primary-audience-and-scope  The server is a tenant on Oracle Public cloud
  cec register-server server1 -e http://server1.com -u user1 -p samplePass1                                                                                        The server is a tenant on Oracle Public cloud
  cec register-server server1 -e http://server1.com -u user1 -p samplePass1 -m 60000                                                                               The server is a tenant on Oracle Public cloud
  cec register-server server1 -e http://server1.git.oraclecorp.com.com -u user1 -p samplePass1 -t dev_ec                                                           The server is a standalone development instance
  cec register-server server1 -e http://server1.com -u user1 -p samplePass1 -k ~/.ceckey                                                                           The password will be encrypted

------------------------
cec set-oauth-token
------------------------
Usage: cec set-oauth-token <token>

Set OAuth token for a registered server.

Options:
  --help, -h    Show Help
  --server, -s  The registered OCE server  [required]
									

Examples:
  cec set-oauth-token token1 -s UAT  Set OAuth token for server UAT, all CLI commands using UAT will be headless

------------------------
cec list
------------------------
Usage: cec list

Lists local or server resources such components and templates. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -t <types> to list specific types of resources on the OCE server.

Valid values for <types> on the server are:

  channels
  components
  localizationpolicies
  recommendations
  repositories
  sites
  templates
  taxonomies
  translationconnectors


Options:
  --help, -h    Show Help
  --types, -t   <types> The comma separated list of resource types
  --server, -s  <server> The registered OCE server
									

Examples:
  cec list                                List all local resources
  cec list -s                             List resources on the server specified in cec.properties file
  cec list -t components,channels -s      List components and channels on the server specified in cec.properties file
  cec list -t components,channels -s UAT  List components and channels on the registered server UAT

------------------------
cec execute-get
------------------------
Usage: cec execute-get <endpoint>

Makes an HTTP GET request to a REST API endpoint on OCE server. Specify the server with -s <server>.

Options:
  --help, -h    Show Help
  --file, -f    The file to save the result  [required]
  --server, -s  The registered OCE server

Examples:
  cec exeg "/sites/management/api/v1/sites?links=none" -f allsites.json -s DEV
  cec exeg "/content/management/api/v1.1/channels?links=none" -f allchannels.json -s DEV
  cec exeg "/documents/api/1.2/folders/self/items" -f homefolderitems.json -s DEV

------------------------
cec install
------------------------
Usage: cec install

Creates an initial source tree in the current directory.

With cec install, your source can be in a separate directory to the cec command install files, and you no longer need your source to be within a sites-toolkit directory.

The cec.properties file can be used to specify server settings.  It will be picked up from the source directory, or can be specified with environment variable CEC_PROPERTIES

Use cec develop to start a dev/test server for your source.  Different ports can be used for the server, to enable multiple source trees to exist.

Options:
  --help, -h  Show Help

Examples:
  cec install

------------------------
cec develop
------------------------
Usage: cec develop

Starts a test server in the current folder. Specify the server with -s <server> or use the one specified in cec.properties file. Optionally specify -p <port> to set the port, default port is 8085.

Options:
  --help, -h    Show Help
  --port, -p    Set <port>. Defaults to 8085.
  --server, -s  The registered OCE server
  --debug, -d   Start the server with "--inspect"
									

Examples:
  cec develop
  cec develop -p 7878
  cec develop -p 7878 -s UAT

------------------------
cec sync-server
------------------------
Usage: cec sync-server

Starts a sync server in the current folder to sync changes notified by web hook from <server> to <destination> server. Specify the source server with -s <server> and the destination server with -d <destination>. Optionally specify -p <port> to set the port, default port is 8086. To run the sync server over HTTPS, specify the key file with -k <key> and the certificate file with -c <certificate>. Set authorization option with -a and the valid values are

  none
  basic
  header


Options:
  --help, -h           Show Help
  --server, -s         The registered OCE server for sync source  [required]
  --destination, -d    The registered OCE server for sync destination  [required]
  --authorization, -a  The authorization method [none | basic | header] for the web hook event, defaults to basic
  --username, -u       The username used to authenticate the web hook event when <authorization> is basic
  --password, -w       The password used to authenticate the web hook event when <authorization> is basic
  --values, -v         The comma separated list of name-value pairs used to authenticate the web hook event when <authorization> is header
  --port, -p           Set port. Defaults to 8086.
  --key, -k            The key file for HTTPS
  --certificate, -c    The certificate file for HTTPS
										   

Examples:
  cec sync-server -s DEV -d UAT -u admin -w samplePass1                  Use Basic authorization
  cec sync-server -s DEV -d UAT -u admin -w samplePass1 -p 7878          Use Basic authorization and port set to 7878
  cec sync-server -s DEV -d UAT                                       Use Basic authorization and the username and password will be prompted to enter
  cec sync-server -s DEV -d UAT -u admin                              Use Basic authorization and the password will be prompted to enter
  cec sync-server -s DEV -d UAT -a header -v key1:value1,key2:value2  Use Header authorization
  cec sync-server -s DEV -d UAT -a none                               No authorization
  cec sync-server -s DEV -d UAT -k ~/keys/key.pem -c ~/keys/cert.pem  The sync server will start over HTTPS
Missing required arguments: server, destination

------------------------
cec webhook-server
------------------------
Usage: cec webhook-server

Starts a server in the current folder to handle events notified by web hook from <server>. Optionally specify -p <port> to set the port, default port is 8087. The supported event types are

  seo - refresh Detailed page in the Prerender cache


Options:
  --help, -h         Show Help
  --type, -t         The webhook server type [seo]  [required]
  --contenttype, -c  The content type  [required]
  --detailpage, -d   The full url of the site detail page for this type  [required]
  --server, -s       The registered OCE server  [required]
  --port, -p         Set port. Defaults to 8087.

Examples:
  cec webhook-server -t seo -s DEV -c Blog -d "/site/blogsite/detailpage"
  cec webhook-server -t seo -s DEV -c Blog,Author -d "/site/blogsite/blogdetail,/site/blogsite/authordetail"
  cec webhook-server -t seo -s DEV -c Blog -d "/site/blogsite/detailpage" -p 7878
Missing required arguments: type, contenttype, detailpage, server