Class DiffOptionListCommand

Current version: 3.4

Shows differences between one or more serialized option lists and their counterpart in the connected Content Hub instance.

Inheritance
object
Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand<THandler>Sitecore.CH.Cli.Plugin.Serialization.CommandHandlers.DiffOptionListCommandHandler
DiffOptionListCommand
Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.SerializationCommands
Assembly: Sitecore.CH.Cli.Plugin.Serialization.dll
Syntax
RequestResponse
public sealed class DiffOptionListCommand : BaseCommand<DiffOptionListCommandHandler>
Remarks

Optional parameters

  • --endpoint -e Specifies an alternative endpoint name for the execution of this command.
  • --name -n Name of the option list. Wildcards allowed.
  • --folder -f Specifies the a working directory other than the current folder.

Global parameters

  • -? --help -h Show this help message and exit.
  • -v --verbosity Enables verbose logging.
Examples

Show differences for all option lists:

RequestResponse
ch-cli serialization diff option-list

Show differences for all option lists that match the specific name, using the specified working directory:

RequestResponse
ch-cli serialization diff option-list--name "<name-starts*j>" --folder "<local path>"

Do you have some feedback for us?

If you have suggestions for improving this article,