Class PushOptionListCommand
Deserializes one or more option lists from the local file system to the connected Content Hub instance.
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.Serialization.CommandHandlers.PushOptionListCommandHandler
PushOptionListCommand
Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.SerializationCommands
Assembly: Sitecore.CH.Cli.Plugin.Serialization.dll
Syntax
RequestResponse
public sealed class PushOptionListCommand : BaseCommand<PushOptionListCommandHandler>Remarks
Optional parameters
--endpoint -eSpecifies an alternative endpoint name for the execution of this command.--name -nName of the option list to push. Wildcards allowed.--folder -fSpecifies the a working directory other than the current folder.
Global parameters
-? --help -hShow this help message and exit.-v --verbosityEnables verbose logging.
Examples
Deserialize all option lists:
RequestResponse
ch-cli serialization push option-listDeserialize all option lists that match the specified name, using the specified working directory:
RequestResponse
ch-cli serialization push option-list --name "<name-starts*j>" --folder "<local path>"