16 references to Prompt
Microsoft.TemplateEngine.Cli (3)
Commands\create\TemplateCommand.cs (1)
108
DefaultValueFactory = (_) => AllowRunScripts.
Prompt
PostActionDispatcher.cs (1)
139
else if (canRunScripts == AllowRunScripts.
Prompt
)
TemplateInvoker.cs (1)
312
PostActionExecutionStatus result = _postActionDispatcher.Process(creationResult, args.IsDryRun, args.AllowScripts ?? AllowRunScripts.
Prompt
);
Microsoft.TemplateEngine.Cli.UnitTests (13)
ParserTests\InstantiateTests.cs (3)
559
[InlineData("foo", AllowRunScripts.
Prompt
)]
560
[InlineData("foo --allow-scripts prompt", AllowRunScripts.
Prompt
)]
561
[InlineData("foo --allow-scripts Prompt", AllowRunScripts.
Prompt
)]
PostActionDispatcherTests.cs (10)
43
var result = dispatcher.Process(templateCreationResult, isDryRun: false, AllowRunScripts.
Prompt
);
74
var result = dispatcher.Process(templateCreationResult, isDryRun: true, AllowRunScripts.
Prompt
);
100
var result = dispatcher.Process(templateCreationResult, isDryRun: false, AllowRunScripts.
Prompt
);
131
var result = dispatcher.Process(templateCreationResult, isDryRun: true, AllowRunScripts.
Prompt
);
161
var result = dispatcher.Process(templateCreationResult, isDryRun: false, AllowRunScripts.
Prompt
);
375
var result = dispatcher.Process(templateCreationResult, isDryRun: false, AllowRunScripts.
Prompt
);
408
var result = dispatcher.Process(templateCreationResult, isDryRun: false, AllowRunScripts.
Prompt
);
440
var result = dispatcher.Process(templateCreationResult, isDryRun: true, AllowRunScripts.
Prompt
);
485
var result = dispatcher.Process(templateCreationResult, isDryRun: false, AllowRunScripts.
Prompt
);
528
var result = dispatcher.Process(templateCreationResult, isDryRun: false, AllowRunScripts.
Prompt
);