Class PublishCommand
Publishes content from the selected Content Hub instance to the delivery platform.
Inheritance
object
System.CommandLine.Symbol
System.CommandLine.IdentifierSymbol
Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand
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 -sPublishes entities that have been modified after the specified date.
Global parameters
--end-date -eDefines the end of the range for entities to be considered for publishing.--publish-failed -pIf set, only failed entities are re-published.-? --help -hShow this help message and exit.-v --verboseEnables verbose logging.
Examples
Publish entities to delivery platform:
RequestResponse
ch-cli content delivery publish --start-date "2022-08-01 12:00:00"