1. BuildRegistryCommand

Class BuildRegistryCommand

Rebuilds the serialization registries for all resource types.

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.BuildRegistryCommandHandler
BuildRegistryCommand
Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.SerializationCommands
Assembly: Sitecore.CH.Cli.Plugin.Serialization.dll
Syntax
public sealed class BuildRegistryCommand : BaseCommand<BuildRegistryCommandHandler>
Remarks

Optional parameters

  • --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

Rebuild the local registries:

ch-cli serialization build-registry

Rebuild the local registries, using the specified working directory:

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