Sitecore Content Hub CLI changelog

All notable changes to the Command-line Interface (CLI) will be documented in this file.



  • New Scripting command group; facilitates editing, compilation, publishing and execution of scripts.

    • initialize command; initializes the script working folder with the files needed to support Intellisense in Visual Studio Code.
    • pull command; pulls the specified script(s) from Content Hub and stored it(them) in the script working folder.
    • watch command; watches the script working folder for changes and pushes those changes to the Content Hub instance.
    • enable command; enables a script in the selected Content Hub instance.
    • disable command; disables a script in the selected Content Hub instance.
    • execute command; executes the specified script in the Content Hub instance.
  • New Content command group; allow the user to perform operations like data import.

    • import command; imports data into the selected Content Hub instance.
  • refresh command; refreshes the connection to the active or specified Endpoint.




Initial release of the Sitecore Content Hub CLI. The CLI works on Sitecore Content Hub 3.3.0 or later.

  • Monitor jobs, order, and queues.
  • Ability to import/export packages (requires Sitecore Content Hub 4.0 or later).

Can we improve this article ? Provide feedback