Class EnableCommand
Enables a script in the selected Content Hub instance.
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.Scripting.CommandHandlers.EnableCommandHandler
EnableCommand
Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.ScriptingCommands
Assembly: Sitecore.CH.Cli.Plugin.Scripting.dll
Syntax
Remarks
Required parameters
--name -nSpecified the name of the script to pull from the Content Hub instance.
Optional parameters
--endpoint -eSpecifies an alternative endpoint name for the execution of this command.
Global parameters
-? --help -hShow this help message and exit.-v --verbosityEnables verbose logging.
Examples
Enables a script from the selected endpoint: