1 implementation of Args
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
PostAction.cs (1)
30public IReadOnlyDictionary<string, string> Args { get; } = new Dictionary<string, string>();
25 references to Args
Microsoft.TemplateEngine.Cli (25)
PostActionDispatcher.cs (6)
186if (action.Args != null && action.Args.TryGetValue("executable", out string? executable)) 188action.Args.TryGetValue("args", out string? commandArgs); 253if (action.Args != null && action.Args.TryGetValue("executable", out string? executable)) 255action.Args.TryGetValue("args", out string? commandArgs);
PostActionProcessors\AddJsonPropertyPostActionProcessor.cs (11)
88if (!action.Args.TryGetValue(JsonFileNameArgument, out string? jsonFileName)) 94if (!bool.TryParse(action.Args.GetValueOrDefault(DetectRepoRoot, "false"), out bool detectRepoRoot)) 100if (!bool.TryParse(action.Args.GetValueOrDefault(IncludeAllDirectoriesInSearch, "true"), out bool includeAllDirectories)) 108if (!bool.TryParse(action.Args.GetValueOrDefault(IncludeAllParentDirectoriesInSearch, "false"), out bool includeAllParentDirectories)) 124if (!bool.TryParse(action.Args.GetValueOrDefault(AllowFileCreationArgument, "false"), out bool createFile)) 186if (!bool.TryParse(action.Args.GetValueOrDefault(AllowPathCreationArgument, "false"), out bool createPath)) 192if (!bool.TryParse(action.Args.GetValueOrDefault(AllowPropertyOverwriteArgument, "true"), out bool allowPropertyOverwrite)) 198if (!bool.TryParse(action.Args.GetValueOrDefault(IgnorePropertyValueCaseArgument, "false"), out bool ignorePropertyValueCase)) 345action.Args.TryGetValue(ParentPropertyPathArgument, out string? parentProperty); 346action.Args.TryGetValue(NewJsonPropertyNameArgument, out string? newJsonPropertyName); 347action.Args.TryGetValue(NewJsonPropertyValueArgument, out string? newJsonPropertyValue);
PostActionProcessors\ChmodPostActionProcessor.cs (1)
20foreach (KeyValuePair<string, string> entry in actionConfig.Args)
PostActionProcessors\InstructionDisplayPostActionProcessor.cs (3)
21if (actionConfig.Args != null && actionConfig.Args.TryGetValue("executable", out string? executable)) 23actionConfig.Args.TryGetValue("args", out string? commandArgs);
PostActionProcessors\ProcessStartPostActionProcessor.cs (4)
19if (!actionConfig.Args.TryGetValue("executable", out string? executable) || string.IsNullOrWhiteSpace(executable)) 24actionConfig.Args.TryGetValue("args", out string? args); 29if (actionConfig.Args.TryGetValue("redirectStandardOutput", out string? redirectStandardOutputString) 37if (actionConfig.Args.TryGetValue("redirectStandardError", out string? redirectStandardErrorString)