Class PublishCommand

Publishes content from the selected Content Hub instance to the delivery platform.

Inheritance
object
Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand<THandler>Sitecore.CH.Cli.Plugin.Content.CommandHandlers.Content.Delivery.PublishCommandHandler
PublishCommand
Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.ContentSitecore.CH.Cli.Plugin.Content.CommandsContentDelivery
Assembly: Sitecore.CH.Cli.Plugin.Content.dll
Syntax
RequestResponse
public class PublishCommand : BaseCommand<PublishCommandHandler>
Remarks

Required parameters

  • --start-date -s Publishes entities that have been modified after the specified date.

Global parameters

  • --end-date -e Defines the end of the range for entities to be considered for publishing.
  • --publish-failed -p If set, only failed entities are re-published.
  • -? --help -h Show this help message and exit.
  • -v --verbose Enables verbose logging.
Examples

Publish entities to delivery platform:

RequestResponse
ch-cli content delivery publish --start-date "2022-08-01 12:00:00"

Do you have some feedback for us?

If you have suggestions for improving this article,