1. Sitecore.CH.Cli.Plugin.Serialization.Commands

Class ValidatePolicyCommand

Validates the known policies in the local file system.

Inheritance

object

System.CommandLine.Symbol

System.CommandLine.IdentifierSymbol

Command

Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand

Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommandSitecore.CH.Cli.Plugin.Serialization.CommandHandlers.ValidatePolicyCommandHandler

ValidatePolicyCommand

Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.SerializationCommands

Assembly: Sitecore.CH.Cli.Plugin.Serialization.dll

Syntax

public sealed class ValidatePolicyCommand : BaseCommand<ValidatePolicyCommandHandler>

Remarks

Optional parameters

  • --endpoint -e Specifies an alternative endpoint name for the execution of this command.
  • --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

Validate entities, using the specified working directory:

ch-cli serialization validate policy --folder "<local path>"
If you have suggestions for improving this article, let us know!