Class ScriptingCommand
Version:
日本語翻訳に関する免責事項
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Facilitates editing, compilation and publishing scripts. This is a PREVIEW command.
Inheritance
System.Object
System.CommandLine.Symbol
System.CommandLine.NamedSymbol
System.CommandLine.Command
Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand<Sitecore.CH.Cli.Plugin.Applications.CommandHandlers.ScriptingCommandHandler>
ScriptingCommand
Namespace: Sitecore.CH.Cli.Plugin.Applications.Commands
Assembly: Sitecore.CH.Cli.Plugin.Applications.dll
Syntax
Remarks
Optional parameters
--endpoint -eSpecifies an alternative endpoint name for the execution of this command.
--folder -fSpecifies the script working folder where the script files are located. If the --folder option is not specified, the current folder is assumed to be the script working folder.
--pull -pPulls the specified script from content hub and stored it in the script working folder.
--initialize -iInitializes the script working folder with the files needed to make intellisense work in VS Code.
--watch -wWatches the script working folder for changes and pushes those changes to the Content Hub instance.
--log-poll-interval -lSpecifies how often, in seconds, the scripts are polled for new log changes. Default value: 3 second
Global parameters
-? --help -hShow this help message and exit.-v --verbosityEnables verbose logging.
Examples
Initialize scripts:
Initialize scripts to specific folder:
Pull scripts from the selected endpoint:
Watching scripts:
Watching scripts with specific polling interval: