Class PullCommand

Pulls an entity print template from the connected Content Hub instance into the specified working directory.

Inheritance
object
Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand<THandler>Sitecore.CH.Cli.Plugin.Content.CommandHandlers.Print.PullCommandHandler
PullCommand
Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.ContentSitecore.CH.Cli.Plugin.Content.CommandsPrint
Assembly: Sitecore.CH.Cli.Plugin.Content.dll
Syntax
RequestResponse
public class PullCommand : BaseCommand<PullCommandHandler>
Remarks

Required parameters

  • --name -dn Specifies the name of the entity print template.

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

Pull an entity print template:

RequestResponse
ch-cli print pull --name "<template name>"

Initialize an entity print template to specific folder:

RequestResponse
ch-cli scripting pull --name "<template name>" --folder "<local path>"

Do you have some feedback for us?

If you have suggestions for improving this article,