Class PullEntityDefinitionCommand
Serializes one or more entity definitions from the connected Content Hub instance to the local file system.
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.PullEntityDefinitionCommandHandler
PullEntityDefinitionCommand
Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.SerializationCommands
Assembly: Sitecore.CH.Cli.Plugin.Serialization.dll
Syntax
Remarks
Optional parameters
--endpoint -eSpecifies an alternative endpoint name for the execution of this command.--name -nName of the entity definition to pull. Wildcards allowed.--remove-missing -rRemove local-only entity definitions.--updates -uUpdate only entity definitions modified in the last minutes (see --minutes).--minutes -mMinutes to go back to look for modified entity definitions. Default is 30 minutes.--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
Serialize an entity definition that matches the specified name:
Serialize all entity definitions, using the specified working directory:
Serialize all entity definitions that match the specific name to a specific folder:
Serialize all entity definitions that match the specified name and remove all local entity definitions that exist in the file system but not in the connected Content Hub instance:
Serialize all entity definitions that were updated recently (see --minutes):