9 references to AllowRunScripts
Microsoft.TemplateEngine.Cli (9)
Commands\create\TemplateCommand.cs (3)
109AllowScriptsOption = new Option<AllowRunScripts>("--allow-scripts") 113DefaultValueFactory = (_) => AllowRunScripts.Prompt 133internal Option<AllowRunScripts>? AllowScriptsOption { get; }
Commands\create\TemplateCommandArgs.cs (1)
67public AllowRunScripts? AllowScripts { get; }
PostActionDispatcher.cs (4)
69internal PostActionExecutionStatus Process(ITemplateCreationResult creationResult, bool isDryRun, AllowRunScripts canRunScripts) 125if (canRunScripts == AllowRunScripts.No) 135else if (canRunScripts == AllowRunScripts.Yes) 139else if (canRunScripts == AllowRunScripts.Prompt)
TemplateInvoker.cs (1)
314PostActionExecutionStatus result = _postActionDispatcher.Process(creationResult, args.IsDryRun, args.AllowScripts ?? AllowRunScripts.Prompt);