699 writes to Description
aspire (104)
Commands\AddCommand.cs (3)
34Description = AddCommandStrings.IntegrationArgumentDescription, 40Description = AddCommandStrings.VersionArgumentDescription 44Description = AddCommandStrings.SourceArgumentDescription
Commands\AppHostLauncher.cs (2)
42Description = SharedCommandStrings.FormatOptionDescription 50Description = SharedCommandStrings.IsolatedOptionDescription
Commands\ConfigCommand.cs (8)
73Description = ConfigCommandStrings.GetCommand_KeyArgumentDescription 123Description = ConfigCommandStrings.SetCommand_KeyArgumentDescription 127Description = ConfigCommandStrings.SetCommand_ValueArgumentDescription 131Description = ConfigCommandStrings.SetCommand_GlobalArgumentDescription 205Description = ConfigCommandStrings.ListCommand_AllOptionDescription 348Description = ConfigCommandStrings.DeleteCommand_KeyArgumentDescription 352Description = ConfigCommandStrings.DeleteCommand_GlobalArgumentDescription 443Description = ConfigCommandStrings.InfoCommand_JsonOptionDescription
Commands\DeployCommand.cs (1)
29Description = DeployCommandStrings.ClearCacheOptionDescription
Commands\DescribeCommand.cs (3)
78Description = DescribeCommandStrings.ResourceArgumentDescription, 84Description = DescribeCommandStrings.FollowOptionDescription 88Description = DescribeCommandStrings.JsonOptionDescription
Commands\DoCommand.cs (1)
30Description = DoCommandStrings.StepArgumentDescription,
Commands\DocsGetCommand.cs (3)
27Description = DocsCommandStrings.SlugArgumentDescription 32Description = DocsCommandStrings.SectionOptionDescription 37Description = DocsCommandStrings.FormatOptionDescription
Commands\DocsListCommand.cs (1)
28Description = DocsCommandStrings.FormatOptionDescription
Commands\DocsSearchCommand.cs (3)
28Description = DocsCommandStrings.QueryArgumentDescription 33Description = DocsCommandStrings.FormatOptionDescription 38Description = DocsCommandStrings.LimitOptionDescription
Commands\DoctorCommand.cs (1)
24Description = DoctorCommandStrings.JsonOptionDescription
Commands\ExecCommand.cs (4)
29Description = ExecCommandStrings.TargetResourceArgumentDescription 33Description = ExecCommandStrings.StartTargetResourceArgumentDescription 37Description = ExecCommandStrings.WorkdirArgumentDescription 41Description = ExecCommandStrings.CommandArgumentDescription
Commands\ExportCommand.cs (2)
38Description = ExportCommandStrings.OutputOptionDescription 43Description = ExportCommandStrings.ResourceOptionDescription,
Commands\InitCommand.cs (4)
48Description = NewCommandStrings.SourceArgumentDescription, 53Description = NewCommandStrings.VersionArgumentDescription, 115Description = isStagingEnabled 124Description = InitCommandStrings.LanguageOptionDescription
Commands\LogsCommand.cs (5)
83Description = LogsCommandStrings.ResourceArgumentDescription, 89Description = LogsCommandStrings.FollowOptionDescription 93Description = LogsCommandStrings.JsonOptionDescription 97Description = LogsCommandStrings.TailOptionDescription 101Description = LogsCommandStrings.TimestampsOptionDescription
Commands\McpCallCommand.cs (3)
30Description = McpCommandStrings.CallCommand_ResourceArgumentDescription 35Description = McpCommandStrings.CallCommand_ToolArgumentDescription 40Description = McpCommandStrings.CallCommand_InputOptionDescription
Commands\McpToolsCommand.cs (1)
31Description = McpCommandStrings.ToolsCommand_FormatOptionDescription
Commands\NewCommand.cs (5)
36Description = NewCommandStrings.NameArgumentDescription, 41Description = NewCommandStrings.OutputArgumentDescription, 46Description = NewCommandStrings.SourceArgumentDescription, 51Description = NewCommandStrings.VersionArgumentDescription, 99Description = isStagingEnabled
Commands\OptionWithLegacy.cs (1)
23InnerOption = new(optionName) { Description = description };
Commands\PipelineCommandBase.cs (6)
45Description = SharedCommandStrings.PipelineLogLevelOptionDescription 50Description = SharedCommandStrings.PipelineIncludeExceptionDetailsOptionDescription 55Description = SharedCommandStrings.PipelineEnvironmentOptionDescription 60Description = PublishCommandStrings.NoBuildArgumentDescription 89Description = GetOutputPathDescription() 103Description = RunCommandStrings.StartDebugSessionArgumentDescription
Commands\PsCommand.cs (2)
70Description = PsCommandStrings.JsonOptionDescription 75Description = PsCommandStrings.ResourcesOptionDescription
Commands\ResourceCommand.cs (2)
26Description = ResourceCommandStrings.CommandResourceArgumentDescription 31Description = ResourceCommandStrings.CommandNameArgumentDescription
Commands\RootCommand.cs (7)
27Description = RootCommandStrings.DebugArgumentDescription, 34Description = RootCommandStrings.DebugLevelArgumentDescription, 40Description = RootCommandStrings.NonInteractiveArgumentDescription, 46Description = RootCommandStrings.NoLogoArgumentDescription, 52Description = RootCommandStrings.BannerArgumentDescription, 58Description = RootCommandStrings.WaitForDebuggerArgumentDescription, 65Description = RootCommandStrings.CliWaitForDebuggerArgumentDescription,
Commands\RunCommand.cs (3)
76Description = RunCommandStrings.DetachArgumentDescription 80Description = RunCommandStrings.NoBuildArgumentDescription 121Description = RunCommandStrings.StartDebugSessionArgumentDescription
Commands\Sdk\SdkDumpCommand.cs (3)
39Description = "Integrations to scan. Each can be a .csproj path or a NuGet package in PackageName@Version format. If not specified, dumps core Aspire.Hosting capabilities.", 44Description = "Output file. If not specified, outputs to stdout." 48Description = "Output format: Pretty (default), Json (machine-readable), or Ci (stable text for diffing)."
Commands\Sdk\SdkGenerateCommand.cs (3)
29Description = "Path to the integration project (.csproj) to generate SDK from" 33Description = "Target language for SDK generation (e.g., typescript)", 38Description = "Output directory for generated SDK files",
Commands\SecretDeleteCommand.cs (1)
23Description = SecretCommandStrings.KeyDeleteArgumentDescription
Commands\SecretGetCommand.cs (1)
23Description = SecretCommandStrings.KeyRetrieveArgumentDescription
Commands\SecretListCommand.cs (1)
24Description = SecretCommandStrings.FormatOptionDescription
Commands\SecretSetCommand.cs (2)
22Description = SecretCommandStrings.KeyArgumentDescription 27Description = SecretCommandStrings.ValueArgumentDescription
Commands\SetupCommand.cs (2)
22Description = "Directory to extract the bundle into. Defaults to the parent of the CLI binary's directory. Non-default paths require ASPIRE_LAYOUT_PATH to be set for auto-discovery." 27Description = "Force extraction even if the layout already exists"
Commands\StartCommand.cs (1)
22Description = RunCommandStrings.NoBuildArgumentDescription
Commands\StopCommand.cs (1)
32Description = StopCommandStrings.AllOptionDescription
Commands\TelemetryCommandHelpers.cs (6)
36Description = TelemetryCommandStrings.ResourceArgumentDescription, 50Description = TelemetryCommandStrings.FormatOptionDescription 58Description = TelemetryCommandStrings.LimitOptionDescription 66Description = TelemetryCommandStrings.FollowOptionDescription 75option.Description = TelemetryCommandStrings.TraceIdOptionDescription; 84Description = TelemetryCommandStrings.HasErrorOptionDescription
Commands\TelemetryLogsCommand.cs (1)
43Description = TelemetryCommandStrings.SeverityOptionDescription
Commands\UpdateCommand.cs (3)
39Description = UpdateCommandStrings.SelfOptionDescription 77Description = isStagingEnabled 86Description = isStagingEnabled
Commands\WaitCommand.cs (3)
27Description = WaitCommandStrings.ResourceArgumentDescription 32Description = WaitCommandStrings.StatusOptionDescription, 38Description = WaitCommandStrings.TimeoutOptionDescription,
Templating\CliTemplateFactory.cs (1)
37Description = TemplatingStrings.UseLocalhostTld_Description
Templating\DotNetTemplateFactory.cs (4)
42Description = TemplatingStrings.UseLocalhostTld_Description, 47Description = TemplatingStrings.UseRedisCache_Description, 52Description = TemplatingStrings.PromptForTFMOptions_Description 56Description = TemplatingStrings.EnterXUnitVersion_Description
Aspire.RuntimeIdentifier.Tool (3)
Program.cs (3)
24Description = "Path to runtime graph path to use for RID mapping.", 30Description = "RID to use for finding the best applicable RID from mapping.", 36Description = "List of RIDs that are supported. Comma-separated.",
aspire-managed (22)
NuGet\Commands\LayoutCommand.cs (4)
25Description = "Path to project.assets.json file", 32Description = "Output directory for flat DLL layout", 39Description = "Target framework (default: net10.0)", 46Description = "Enable verbose output"
NuGet\Commands\RestoreCommand.cs (9)
32Description = "Package reference as 'PackageId,Version' (can specify multiple)", 40Description = "Target framework (default: net10.0)", 47Description = "Output directory for project.assets.json", 54Description = "NuGet packages directory" 60Description = "NuGet feed URL (can specify multiple)", 68Description = "Path to nuget.config file" 74Description = "Working directory for nuget.config discovery" 80Description = "Don't add nuget.org as fallback source" 86Description = "Enable verbose output"
NuGet\Commands\SearchCommand.cs (9)
29Description = "Search query string", 36Description = "Include prerelease packages" 42Description = "Maximum number of results (default: 100)", 49Description = "Number of results to skip (default: 0)", 56Description = "NuGet feed URL (can specify multiple)", 64Description = "Path to nuget.config file" 70Description = "Working directory to search for nuget.config" 76Description = "Output format: json or text (default: json)", 83Description = "Enable verbose output"
cdac-build-tool (5)
ComposeCommand.cs (4)
13private readonly Argument<string[]> inputFiles = new("INPUT [INPUTS...]") { Arity = ArgumentArity.OneOrMore, Description = "One or more input files" }; 14private readonly Option<string> outputFile = new("-o") { Arity = ArgumentArity.ExactlyOne, HelpName = "OUTPUT", Required = true, Description = "Output file" }; 15private readonly Option<string> baselinePath = new("-b", "--baseline") { Arity = ArgumentArity.ExactlyOne, HelpName = "BASELINEPATH", Description = "Directory containing the baseline contracts"}; 16private readonly Option<string> templateFile = new("-i", "--input-template") { Arity = ArgumentArity.ExactlyOne, HelpName = "TEMPLATE", Description = "Contract descriptor template to be filled in" };
Program.cs (1)
14var verboseOption = new Option<bool>("-v", "--verbose") {Recursive = true, Description = "Verbose"};
ConfigurationSchemaGenerator (3)
RootGenerateCommand.cs (3)
13Description = "The assembly to generate a ConfigurationSchema.json file for.", 20Description = "The assemblies referenced by the input assembly.", 26Description = "The FilePath assembly to generate a ConfigurationSchema.json file for.",
crossgen2 (67)
Crossgen2RootCommand.cs (67)
20new("input-file-path") { CustomParser = result => Helpers.BuildPathDictionary(result.Tokens, true), Description = "Input file(s)", Arity = ArgumentArity.OneOrMore }; 22new("--unrooted-input-file-paths", "-u") { CustomParser = result => Helpers.BuildPathDictionary(result.Tokens, true), DefaultValueFactory = result => Helpers.BuildPathDictionary(result.Tokens, true), Description = SR.UnrootedInputFilesToCompile }; 24new("--reference", "-r") { CustomParser = result => Helpers.BuildPathDictionary(result.Tokens, false), DefaultValueFactory = result => Helpers.BuildPathDictionary(result.Tokens, false), Description = SR.ReferenceFiles }; 26new("--instruction-set") { Description = SR.InstructionSets }; 28new("--max-vectort-bitwidth") { Description = SR.MaxVectorTBitWidths }; 30new("--mibc", "-m") { DefaultValueFactory = _ => Array.Empty<string>(), Description = SR.MibcFiles }; 32new("--out", "-o") { Description = SR.OutputFilePath }; 34new("--obj-format", "-f") { CustomParser = MakeOutputFormat, DefaultValueFactory = MakeOutputFormat, Description = SR.OutputFormat, HelpName = "arg" }; 36new("--compositerootpath", "--crp") { Description = SR.CompositeRootPath }; 38new("--optimize", "-O") { Description = SR.EnableOptimizationsOption }; 40new("--optimize-disabled", "--Od") { Description = SR.DisableOptimizationsOption }; 42new("--optimize-space", "--Os") { Description = SR.OptimizeSpaceOption }; 44new("--optimize-time", "--Ot") { Description = SR.OptimizeSpeedOption }; 46new("--enable-cached-interface-dispatch-support", "--CID") { Description = SR.EnableCachedInterfaceDispatchSupport }; 48new("--type-validation") { DefaultValueFactory = _ => TypeValidationRule.Automatic, Description = SR.TypeValidation, HelpName = "arg" }; 50new("--inputbubble") { Description = SR.InputBubbleOption }; 52new("--inputbubbleref") { CustomParser = result => Helpers.BuildPathDictionary(result.Tokens, false), DefaultValueFactory = result => Helpers.BuildPathDictionary(result.Tokens, false), Description = SR.InputBubbleReferenceFiles }; 54new("--composite") { Description = SR.CompositeBuildMode }; 56new("--compositekeyfile") { Description = SR.CompositeKeyFile }; 58new("--rtr-header-symbol-name") { Description = SR.ReadyToRunHeaderSymbolName }; 60new("--compile-no-methods") { Description = SR.CompileNoMethodsOption }; 62new("--out-near-input") { Description = SR.OutNearInputOption }; 64new("--single-file-compilation") { Description = SR.SingleFileCompilationOption }; 66new("--partial") { Description = SR.PartialImageOption }; 68new("--compilebubblegenerics") { Description = SR.BubbleGenericsOption }; 70new("--embed-pgo-data") { Description = SR.EmbedPgoDataOption }; 72new("--dgmllog") { Description = SR.SaveDependencyLogOption }; 74new("--fulllog") { Description = SR.SaveDetailedLogOption }; 76new("--verbose") { Description = SR.VerboseLoggingOption }; 78new("--systemmodule") { DefaultValueFactory = _ => Helpers.DefaultSystemModule, Description = SR.SystemModuleOverrideOption }; 80new("--waitfordebugger") { Description = SR.WaitForDebuggerOption }; 82new("--codegenopt") { DefaultValueFactory = _ => Array.Empty<string>(), Description = SR.CodeGenOptions }; 84new("--support-ibc") { Description = SR.SupportIbc }; 86new("--resilient") { Description = SR.ResilientOption }; 88new("--imagebase") { Description = SR.ImageBase }; 90new("--targetarch") { CustomParser = MakeTargetArchitecture, DefaultValueFactory = MakeTargetArchitecture, Description = SR.TargetArchOption, Arity = ArgumentArity.OneOrMore, HelpName = "arg" }; 92new("--enable-generic-cycle-detection") { Description = SR.EnableGenericCycleDetection }; 94new("--maxgenericcycle") { DefaultValueFactory = _ => ReadyToRunCompilerContext.DefaultGenericCycleDepthCutoff, Description = SR.GenericCycleDepthCutoff }; 96new("--maxgenericcyclebreadth") { DefaultValueFactory = _ => ReadyToRunCompilerContext.DefaultGenericCycleBreadthCutoff, Description = SR.GenericCycleBreadthCutoff }; 98new("--targetos") { CustomParser = result => Helpers.GetTargetOS(result.Tokens.Count > 0 ? result.Tokens[0].Value : null), DefaultValueFactory = result => Helpers.GetTargetOS(result.Tokens.Count > 0 ? result.Tokens[0].Value : null), Description = SR.TargetOSOption, HelpName = "arg" }; 100new("--jitpath") { Description = SR.JitPathOption }; 102new("--print-repro-instructions") { Description = SR.PrintReproInstructionsOption }; 104new("--singlemethodtypename") { Description = SR.SingleMethodTypeName }; 106new("--singlemethodname") { Description = SR.SingleMethodMethodName }; 108new("--singlemethodindex") { Description = SR.SingleMethodIndex }; 110new("--singlemethodgenericarg") { Description = SR.SingleMethodGenericArgs }; 112new("--parallelism") { CustomParser = MakeParallelism, DefaultValueFactory = MakeParallelism, Description = SR.ParalellismOption }; 114new("--custom-pe-section-alignment") { Description = SR.CustomPESectionAlignmentOption }; 116new("--map") { Description = SR.MapFileOption }; 118new("--mapcsv") { Description = SR.MapCsvFileOption }; 120new("--pdb") { Description = SR.PdbFileOption }; 122new("--pdb-path") { Description = SR.PdbFilePathOption }; 124new("--perfmap") { Description = SR.PerfMapFileOption }; 126new("--perfmap-path") { Description = SR.PerfMapFilePathOption }; 128new("--perfmap-format-version") { DefaultValueFactory = _ => 0, Description = SR.PerfMapFormatVersionOption }; 130new("--opt-cross-module") { Description = SR.CrossModuleInlining }; 132new("--opt-async-methods") { Description = SR.AsyncModuleOptimization }; 134new("--non-local-generics-module") { DefaultValueFactory = _ => string.Empty, Description = SR.NonLocalGenericsModule }; 136new("--method-layout") { CustomParser = MakeMethodLayoutAlgorithm, DefaultValueFactory = MakeMethodLayoutAlgorithm, Description = SR.MethodLayoutOption, HelpName = "arg" }; 138new("--file-layout") { CustomParser = MakeFileLayoutAlgorithm, DefaultValueFactory = MakeFileLayoutAlgorithm, Description = SR.FileLayoutOption, HelpName = "arg" }; 140new("--verify-type-and-field-layout") { Description = SR.VerifyTypeAndFieldLayoutOption }; 142new("--callchain-profile") { Description = SR.CallChainProfileFile }; 144new("--make-repro-path") { Description = "Path where to place a repro package" }; 146new("--hot-cold-splitting") { Description = SR.HotColdSplittingOption }; 148new("--strip-inlining-info") { Description = SR.StripInliningInfoOption }; 150new("--strip-debug-info") { Description = SR.StripDebugInfoOption }; 152new("--strip-il-bodies") { Description = SR.StripILBodiesOption };
dotnet (2)
Parser.cs (2)
115option.Description = CliStrings.ShowHelpDescription; 419workloadSearchCommand.VersionCommand.Description = CliStrings.ShortWorkloadSearchVersionDescription;
dotnet-format (14)
Commands\FormatCommandCommon.cs (14)
25Description = Resources.SolutionOrProjectArgumentDescription, 31Description = Resources.Whether_to_treat_the_workspace_argument_as_a_simple_folder_of_files, 35Description = Resources.Doesnt_execute_an_implicit_restore_before_formatting, 40Description = Resources.The_target_framework_to_use_when_loading_the_workspace, 44Description = Resources.Verify_no_formatting_changes_would_be_performed_Terminates_with_a_non_zero_exit_code_if_any_files_would_have_been_formatted, 50Description = Resources.A_space_separated_list_of_diagnostic_ids_to_use_as_a_filter_when_fixing_code_style_or_3rd_party_issues, 56Description = Resources.A_space_separated_list_of_diagnostic_ids_to_ignore_when_fixing_code_style_or_3rd_party_issues, 60Description = Resources.The_severity_of_diagnostics_to_fix_Allowed_values_are_info_warn_and_error, 66Description = Resources.A_list_of_relative_file_or_folder_paths_to_include_in_formatting_All_files_are_formatted_if_empty, 72Description = Resources.A_list_of_relative_file_or_folder_paths_to_exclude_from_formatting, 76Description = Resources.Format_files_generated_by_the_SDK, 80Description = Resources.Set_the_verbosity_level_Allowed_values_are_quiet_minimal_normal_detailed_and_diagnostic, 86Description = Resources.Log_all_project_or_solution_load_information_to_a_binary_log_file, 92Description = Resources.Accepts_a_file_path_which_if_provided_will_produce_a_json_report_in_the_given_directory,
dotnet-sourcelink (7)
dotnet-suggest (5)
SuggestionDispatcher.cs (5)
36Description = "Lists apps registered for suggestions", 51var commandPathOption = new Option<string>("--command-path") { Description = "The path to the command for which to register suggestions" }; 56new Option<string>("--suggestion-command") { Description = "The command to invoke to retrieve suggestions" } 86var option = new Option<FileInfo>("--executable", "-e") { Description = "The executable to call for suggestions" }; 96Description = "The current character position on the command line",
dotnet-watch (11)
CommandLine\DotnetWatchCommandDefinition.cs (11)
13public readonly Option<bool> QuietOption = new("--quiet", "-q") { Description = Resources.Help_Quiet, Arity = ArgumentArity.Zero }; 14public readonly Option<bool> VerboseOption = new("--verbose") { Description = Resources.Help_Verbose, Arity = ArgumentArity.Zero }; 15public readonly Option<bool> ListOption = new("--list") { Description = Resources.Help_List, Arity = ArgumentArity.Zero }; 16public readonly Option<bool> NoHotReloadOption = new("--no-hot-reload") { Description = Resources.Help_NoHotReload, Arity = ArgumentArity.Zero }; 17public readonly Option<bool> NonInteractiveOption = new("--non-interactive") { Description = Resources.Help_NonInteractive, Arity = ArgumentArity.Zero }; 24Description = CommandDefinitionStrings.BuildFrameworkOptionDescription, 33Description = Resources.Help_Device, 48Description = CommandDefinitionStrings.CmdProjectDescriptionFormat, 56Description = CommandDefinitionStrings.CommandOptionFileDescription, 64Description = CommandDefinitionStrings.CommandOptionLaunchProfileDescription, 72Description = CommandDefinitionStrings.CommandOptionNoLaunchProfileDescription,
GenerateDocumentationAndConfigFiles (23)
Program.cs (23)
66Description = "Validate files instead of generating them", 71Description = "Directory for analyzer rulesets", 76Description = "Directory for analyzer editorconfigs", 81Description = "Directory for analyzer global configs", 86Description = "Binary directory path", 91Description = "Build configuration", 96Description = "Target framework moniker", 101Description = "Semicolon-separated list of assemblies", 106Description = "Props file directory", 111Description = "Props file name", 116Description = "Targets file directory", 121Description = "Targets file name", 126Description = "Props file name to disable .NET analyzers", 131Description = "Documentation file directory", 136Description = "Documentation file name", 141Description = "SARIF file directory", 146Description = "SARIF file name", 151Description = "Analyzer version", 156Description = "Analyzer package name", 161Description = "Indicates if contains ported FxCop rules", 166Description = "Generate a file listing rules with missing documentation", 171Description = "Opt out of release tracking", 176Description = "Validate files without checking external links",
ilasm (35)
IlasmRootCommand.cs (35)
13new("input-file-paths") { Description = "Input IL source file(s)", Arity = ArgumentArity.OneOrMore }; 16new("--output", "-o") { Description = "Compile to file with specified name (user must provide extension, if any)" }; 19new("--dll") { Description = "Compile to .dll" }; 22new("--exe") { Description = "Compile to .exe (default)" }; 25new("--debug", "-g") { Description = "Disable JIT optimization, create PDB file, use sequence points from PDB" }; 28new("--debug-mode") { Description = "Debug mode: 'impl' (implicit sequence points) or 'opt' (enable JIT optimization)" }; 31new("--optimize", "-O") { Description = "Optimize long instructions to short" }; 34new("--fold") { Description = "Fold identical method bodies into one" }; 37new("--nologo") { Description = "Don't print the logo" }; 40new("--quiet", "-q") { Description = "Don't report assembly progress" }; 43new("--noautoinherit") { Description = "Disable inheriting from System.Object by default" }; 46new("--pdb") { Description = "Create the PDB file without enabling debug info tracking" }; 49new("--appcontainer") { Description = "Create an AppContainer exe or dll" }; 52new("--deterministic", "--det") { Description = "Produce deterministic outputs" }; 55new("--error", "--err") { Description = "Try to create output file despite errors (results may be invalid)" }; 58new("--clock") { Description = "Measure and report compilation times" }; 61new("--key", "-k") { Description = "Compile with strong signature (file contains private key, prefix with @ for key source name)" }; 64new("--aname") { Description = "Override the name of the compiled assembly" }; 67new("--include", "-I") { Description = "Set path to search for #include'd files" }; 70new("--subsystem") { Description = "Set Subsystem value in the NT Optional header" }; 73new("--ssver") { Description = "Set Subsystem version number in the NT Optional header (format: major.minor)" }; 76new("--flags") { Description = "Set CLR ImageFlags value in the CLR header" }; 79new("--alignment") { Description = "Set FileAlignment value in the NT Optional header" }; 82new("--base") { Description = "Set ImageBase value in the NT Optional header (max 2GB for 32-bit images)" }; 85new("--stack") { Description = "Set SizeOfStackReserve value in the NT Optional header" }; 88new("--mdv") { Description = "Set Metadata version string" }; 91new("--pe64") { Description = "Create a 64bit image (PE32+)" }; 94new("--highentropyva") { Description = "Set High Entropy Virtual Address capable PE32+ images (default for /APPCONTAINER)" }; 98new("--nocorstub") { Description = "Suppress generation of CORExeMain stub" }; 101new("--stripreloc") { Description = "Indicate that no base relocations are needed" }; 104new("--x64") { Description = "Target processor: 64bit AMD processor" }; 107new("--arm") { Description = "Target processor: ARM (AArch32) processor" }; 110new("--arm64") { Description = "Target processor: ARM64 (AArch64) processor" }; 113new("--32bitpreferred") { Description = "Create a 32BitPreferred image (PE32)" }; 116new("--waitfordebugger") { Description = "Pause to give opportunity to attach debugger" };
ilc (85)
ILCompilerRootCommand.cs (85)
18new("input-file-path") { CustomParser = result => Helpers.BuildPathDictionary(result.Tokens, true), Description = "Input file(s)", Arity = ArgumentArity.OneOrMore }; 20new("--reference", "-r") { CustomParser = result => Helpers.BuildPathDictionary(result.Tokens, false), DefaultValueFactory = result => Helpers.BuildPathDictionary(result.Tokens, false), Description = "Reference file(s) for compilation" }; 22new("--out", "-o") { Description = "Output file path" }; 24new("--optimize", "-O") { Description = "Enable optimizations" }; 26new("--optimize-space", "--Os") { Description = "Enable optimizations, favor code space" }; 28new("--optimize-time", "--Ot") { Description = "Enable optimizations, favor code speed" }; 30new("--mibc", "-m") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "Mibc file(s) for profile guided optimization" }; 32new("--method-layout") { CustomParser = MakeMethodLayoutAlgorithm, DefaultValueFactory = MakeMethodLayoutAlgorithm, Description = "Layout algorithm used by profile-driven optimization for arranging methods in a file.", HelpName = "arg" }; 34new("--file-layout") { CustomParser = MakeFileLayoutAlgorithm, DefaultValueFactory = MakeFileLayoutAlgorithm, Description = "Layout algorithm used by profile-driven optimization for arranging non-method contents in a file.", HelpName = "arg" }; 36new("--order") { Description = "File that specifies order of symbols within the generated object file" }; 38new("--satellite") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "Satellite assemblies associated with inputs/references" }; 40new("--debug", "-g") { Description = "Emit debugging information" }; 42new("--gdwarf-5") { Description = "Generate source-level debug information with dwarf version 5" }; 44new("--nativelib") { Description = "Compile as static or shared library" }; 46new("--splitinit") { Description = "Split initialization of an executable between the library entrypoint and a main entrypoint" }; 48new("--exportsfile") { Description = "File to write exported symbol and method definitions" }; 50new("--export-unmanaged-entrypoints") { Description = "Controls whether the named UnmanagedCallersOnly methods are exported" }; 52new("--export-dynamic-symbol") { Description = "Add dynamic export symbol to exports file" }; 54new("--dgmllog") { Description = "Save result of dependency analysis as DGML" }; 56new("--fulllog") { Description = "Save detailed log of dependency analysis" }; 58new("--scandgmllog") { Description = "Save result of scanner dependency analysis as DGML" }; 60new("--scanfulllog") { Description = "Save detailed log of scanner dependency analysis" }; 62new("--verbose") { Description = "Enable verbose logging" }; 64new("--systemmodule") { DefaultValueFactory = _ => Helpers.DefaultSystemModule, Description = "System module name (default: System.Private.CoreLib)" }; 66new("--win32resourcemodule") { Description = "Name of the module from which to copy Win32 resources (Windows target only)" }; 68new("--multifile") { Description = "Compile only input files (do not compile referenced assemblies)" }; 70new("--waitfordebugger") { Description = "Pause to give opportunity to attach debugger" }; 72new("--resilient") { Description = "Ignore unresolved types, methods, and assemblies. Defaults to false" }; 74new("--codegenopt") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "Define a codegen option" }; 76new("--rdxml") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "RD.XML file(s) for compilation" }; 78new("--descriptor") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "ILLink.Descriptor file(s) for compilation" }; 80new("--substitution") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "ILLink.Substitution file(s) for compilation" }; 82new("--map") { Description = "Generate a map file" }; 84new("--mstat") { Description = "Generate an mstat file" }; 86new("--sourcelink") { Description = "Generate a SourceLink file" }; 88new("--metadatalog") { Description = "Generate a metadata log file" }; 90new("--completetypemetadata") { Description = "Generate complete metadata for types" }; 92new("--reflectiondata") { Description = "Reflection data to generate (one of: all, none)" }; 94new("--scanreflection") { Description = "Scan IL for reflection patterns" }; 96new("--scan") { Description = "Use IL scanner to generate optimized code (implied by -O)" }; 98new("--noscan") { Description = "Do not use IL scanner to generate optimized code" }; 100new("--ildump") { Description = "Dump IL assembly listing for compiler-generated IL" }; 102new("--noinlinetls") { Description = "Do not generate inline thread local statics" }; 104new("--stacktracedata") { Description = "Stack trace data to generate (one of: frames, lines, none)" }; 106new("--methodbodyfolding") { Description = "Fold identical method bodies (one of: none, generic, all" }; 108new("--initassembly") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "Assembly(ies) with a library initializer" }; 110new("--feature") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "Feature switches to apply (format: 'Namespace.Name=[true|false]'" }; 112new("--runtimeopt") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "Runtime options to set" }; 114new("--runtimeknob") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "Runtime knobs to set" }; 116new("--parallelism") { CustomParser = MakeParallelism, DefaultValueFactory = MakeParallelism, Description = "Maximum number of threads to use during compilation" }; 118new("--instruction-set") { Description = "Instruction set to allow or disallow" }; 120new("--max-vectort-bitwidth") { Description = "Maximum width, in bits, that Vector<T> is allowed to be" }; 122new("--guard") { Description = "Enable mitigations. Options: 'cf': CFG (Control Flow Guard, Windows only)" }; 124new("--dehydrate") { Description = "Dehydrate runtime data structures" }; 126new("--preinitstatics") { Description = "Interpret static constructors at compile time if possible (implied by -O)" }; 128new("--nopreinitstatics") { Description = "Do not interpret static constructors at compile time" }; 130new("--reachabilityinstrument") { Description = "Instrument code for dynamic reachability" }; 132new("--reachabilityuse") { Description = "Use dynamic reachability instrumentation data to produce minimal output" }; 134new("--nowarn") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "Disable specific warning messages" }; 136new("--singlewarn") { Description = "Generate single AOT/trimming warning per assembly" }; 138new("--notrimwarn") { Description = "Disable warnings related to trimming" }; 140new("--noaotwarn") { Description = "Disable warnings related to AOT" }; 142new("--singlewarnassembly") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "Generate single AOT/trimming warning for given assembly" }; 144new("--nosinglewarnassembly") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "Expand AOT/trimming warnings for given assembly" }; 146new("--warnaserror") { Description = "Treat warnings as errors" }; 148new("--warnaserr") { Description = "Enable treating specific warnings as errors" }; 150new("--nowarnaserr") { Description = "Disable treating specific warnings as errors" }; 152new("--directpinvoke") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "PInvoke to call directly" }; 154new("--directpinvokelist") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "File with list of PInvokes to call directly" }; 156new("--root") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "Fully generate given assembly" }; 158new("--conditionalroot") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "Fully generate given assembly if it's used" }; 160new("--trim") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "Trim the specified assembly" }; 162new("--defaultrooting") { Description = "Root assemblies that are not marked [IsTrimmable]" }; 164new("--targetarch") { CustomParser = MakeTargetArchitecture, DefaultValueFactory = MakeTargetArchitecture, Description = "Target architecture for cross compilation", HelpName = "arg" }; 166new("--targetos") { CustomParser = result => Helpers.GetTargetOS(result.Tokens.Count > 0 ? result.Tokens[0].Value : null), DefaultValueFactory = result => Helpers.GetTargetOS(result.Tokens.Count > 0 ? result.Tokens[0].Value : null), Description = "Target OS for cross compilation", HelpName = "arg" }; 168new("--jitpath") { Description = "Path to JIT compiler library" }; 170new("--singlemethodtypename") { Description = "Single method compilation: assembly-qualified name of the owning type" }; 172new("--singlemethodname") { Description = "Single method compilation: name of the method" }; 174new("--maxgenericcycle") { DefaultValueFactory = _ => CompilerTypeSystemContext.DefaultGenericCycleDepthCutoff, Description = "Max depth of generic cycle" }; 176new("--maxgenericcyclebreadth") { DefaultValueFactory = _ => CompilerTypeSystemContext.DefaultGenericCycleBreadthCutoff, Description = "Max breadth of generic cycle expansion" }; 178new("--singlemethodgenericarg") { Description = "Single method compilation: generic arguments to the method" }; 180new("--make-repro-path") { Description = "Path where to place a repro package" }; 182new("--generateunmanagedentrypoints") { DefaultValueFactory = _ => Array.Empty<string>(), Description = "Generate unmanaged entrypoints for a given assembly" }; 184new("--disable-generated-code-heuristics") { Description = "Disable heuristics for detecting compiler-generated code" }; 186new("--typemap-entry-assembly") { Description = "Assembly name to use as entry point for TypeMap generation" };
Microsoft.DotNet.Cli.Definitions (258)
Commands\Build\BuildCommandDefinition.cs (4)
16Description = CommandDefinitionStrings.SolutionOrProjectOrFileArgumentDescription, 24Description = CommandDefinitionStrings.BuildOutputOptionDescription, 30Description = CommandDefinitionStrings.NoIncrementalOptionDescription, 36Description = CommandDefinitionStrings.NoDependenciesOptionDescription,
Commands\BuildServer\BuildServerShutdownCommandDefinition.cs (3)
12Description = CommandDefinitionStrings.MSBuildOptionDescription, 18Description = CommandDefinitionStrings.VBCSCompilerOptionDescription, 24Description = CommandDefinitionStrings.RazorOptionDescription,
Commands\Clean\CleanCommandDefinition.cs (2)
17Description = CommandDefinitionStrings.SolutionOrProjectOrFileArgumentDescription, 23Description = CommandDefinitionStrings.CleanCmdOutputDirDescription,
Commands\Clean\CleanFileBasedAppArtifactsCommandDefinition.cs (2)
14Description = CommandDefinitionStrings.CleanFileBasedAppArtifactsDryRun, 20Description = CommandDefinitionStrings.CleanFileBasedAppArtifactsDays,
Commands\DotNetCommandDefinition.cs (1)
63Description = CommandDefinitionStrings.SDKSchemaCommandDefinition,
Commands\Help\HelpCommandDefinition.cs (1)
15Description = CommandDefinitionStrings.CommandArgumentDescription,
Commands\Hidden\List\ListCommandDefinition.cs (1)
19Description = description,
Commands\New\InstantiateCommandDefinition.cs (2)
16Description = CommandDefinitionStrings.Command_Instantiate_Argument_TemplateOptions, 40Description = CommandDefinitionStrings.Command_Instantiate_Argument_ShortName,
Commands\New\NewCommandDefinition.cs (11)
21Description = CommandDefinitionStrings.DisableSdkTemplates_OptionDescription, 29Description = CommandDefinitionStrings.DisableProjectContextEval_OptionDescription, 36Description = CommandDefinitionStrings.Verbosity_OptionDescription, 48Description = CommandDefinitionStrings.Option_Debug_CustomSettings, 55Description = CommandDefinitionStrings.Option_Debug_VirtualSettings, 62Description = CommandDefinitionStrings.Option_Debug_Attach, 69Description = CommandDefinitionStrings.Option_Debug_Reinit, 78Description = CommandDefinitionStrings.Option_Debug_ShowConfig, 91Description = CommandDefinitionStrings.Command_Instantiate_Argument_TemplateOptions, 172Description = CommandDefinitionStrings.Option_Debug_RebuildCache, 179Description = CommandDefinitionStrings.Command_Instantiate_Argument_ShortName,
Commands\New\NewDetailsCommandDefinition.cs (1)
21Description = CommandDefinitionStrings.DetailsCommand_Argument_PackageIdentifier,
Commands\New\NewInstallCommandDefinition.cs (1)
47Description = CommandDefinitionStrings.Command_Install_Argument_Package,
Commands\New\NewListCommandDefinition.cs (2)
21Description = CommandDefinitionStrings.ListCommand_Option_IgnoreConstraints, 72Description = CommandDefinitionStrings.Command_List_Argument_Name,
Commands\New\NewSearchCommandDefinition.cs (2)
19Description = CommandDefinitionStrings.ListCommand_Option_IgnoreConstraints, 65Description = CommandDefinitionStrings.Command_Search_Argument_Name,
Commands\New\NewUninstallCommandDefinition.cs (1)
31Description = CommandDefinitionStrings.Command_Uninstall_Argument_Package,
Commands\New\NewUpdateCommandDefinition.cs (1)
40Description = CommandDefinitionStrings.Command_Update_Option_CheckOnly,
Commands\New\SharedOptionsFactory.cs (16)
18Description = CommandDefinitionStrings.Option_Interactive 29Description = CommandDefinitionStrings.Option_AddSource, 42Description = CommandDefinitionStrings.TemplateCommand_Option_Force, 53Description = CommandDefinitionStrings.Option_AuthorFilter 64Description = CommandDefinitionStrings.Option_BaselineFilter, 76Description = CommandDefinitionStrings.Option_LanguageFilter 87Description = CommandDefinitionStrings.Option_TypeFilter 98Description = CommandDefinitionStrings.Option_TagFilter 109Description = CommandDefinitionStrings.Option_PackageFilter 115Description = CommandDefinitionStrings.Option_Output, 127Description = CommandDefinitionStrings.Option_ColumnsAll 138Description = CommandDefinitionStrings.Option_Columns, 164Description = CommandDefinitionStrings.TemplateCommand_Option_Name, 172Description = CommandDefinitionStrings.TemplateCommand_Option_DryRun, 180Description = CommandDefinitionStrings.TemplateCommand_Option_NoUpdateCheck, 188Description = CommandDefinitionStrings.Option_ProjectPath
Commands\Pack\PackCommandDefinition.cs (7)
18Description = CommandDefinitionStrings.SolutionOrProjectOrFileArgumentDescription, 26Description = CommandDefinitionStrings.PackCmdOutputDirDescription, 32Description = CommandDefinitionStrings.CmdNoBuildOptionDescription, 38Description = CommandDefinitionStrings.CmdIncludeSymbolsDescription, 44Description = CommandDefinitionStrings.CmdIncludeSourceDescription, 50Description = CommandDefinitionStrings.CmdServiceableDescription, 77Description = CommandDefinitionStrings.PackCmdVersionDescription,
Commands\Package\PackageAddCommandDefinition.cs (6)
22Description = CommandDefinitionStrings.CmdVersionDescription, 29Description = CommandDefinitionStrings.CommandPrereleaseOptionDescription, 35Description = CommandDefinitionStrings.PackageAddCmdFrameworkDescription, 41Description = CommandDefinitionStrings.PackageAddCmdNoRestoreDescription, 47Description = CommandDefinitionStrings.PackageAddCmdSourceDescription, 53Description = CommandDefinitionStrings.CmdPackageDirectoryDescription,
Commands\Package\PackageCommandDefinition.cs (3)
22Description = CommandDefinitionStrings.ProjectArgumentDescription 28Description = CommandDefinitionStrings.FileArgumentDescription 34Description = CommandDefinitionStrings.ProjectOrFileArgumentDescription
Commands\Package\PackageListCommandDefinition.cs (14)
21Description = CommandDefinitionStrings.CmdOutdatedDescription, 27Description = CommandDefinitionStrings.CmdDeprecatedDescription, 33Description = CommandDefinitionStrings.CmdVulnerableDescription, 39Description = CommandDefinitionStrings.PackageListCmdFrameworkDescription, 46Description = CommandDefinitionStrings.CmdTransitiveDescription, 52Description = CommandDefinitionStrings.CmdPrereleaseDescription, 58Description = CommandDefinitionStrings.CmdHighestPatchDescription, 64Description = CommandDefinitionStrings.CmdHighestMinorDescription, 70Description = CommandDefinitionStrings.CmdConfigDescription, 76Description = CommandDefinitionStrings.PackageListCmdSourceDescription, 85Description = CommandDefinitionStrings.CmdNoRestoreDescription, 91Description = CommandDefinitionStrings.VerbosityOptionDescription, 97Description = CommandDefinitionStrings.CmdFormatDescription 102Description = CommandDefinitionStrings.CmdOutputVersionDescription
Commands\Package\PackageRemoveCommandDefinition.cs (1)
28Description = CommandDefinitionStrings.PackageRemoveAppHelpText,
Commands\Package\PackageSearchCommandDefinition.cs (9)
16Description = CommandDefinitionStrings.PackageSearchSearchTermDescription, 22Description = CommandDefinitionStrings.SourceDescription, 29Description = CommandDefinitionStrings.PackageSearchTakeDescription, 35Description = CommandDefinitionStrings.PackageSearchSkipDescription, 41Description = CommandDefinitionStrings.ExactMatchDescription, 49Description = CommandDefinitionStrings.PackageSearchPrereleaseDescription, 55Description = CommandDefinitionStrings.ConfigFileDescription, 61Description = CommandDefinitionStrings.FormatDescription, 67Description = CommandDefinitionStrings.VerbosityDescription,
Commands\Project\ProjectConvertCommandDefinition.cs (5)
12Description = CommandDefinitionStrings.CmdFileDescription, 18Description = CommandDefinitionStrings.Option_Output, 25Description = CommandDefinitionStrings.CmdOptionForceDescription, 33Description = CommandDefinitionStrings.ProjectConvertDryRun, 39Description = CommandDefinitionStrings.ProjectConvertDeleteSource,
Commands\Publish\PublishCommandDefinition.cs (4)
16Description = CommandDefinitionStrings.SolutionOrProjectOrFileArgumentDescription, 24Description = CommandDefinitionStrings.PublishOutputOptionDescription, 30Description = CommandDefinitionStrings.ManifestOptionDescription, 37Description = CommandDefinitionStrings.NoBuildOptionDescription,
Commands\Reference\ReferenceAddCommandDefinition.cs (2)
24Description = CommandDefinitionStrings.ReferenceAddProjectPathArgumentDescription, 36Description = CommandDefinitionStrings.ReferenceAddCmdFrameworkDescription,
Commands\Reference\ReferenceCommandDefinition.cs (1)
19Description = CommandDefinitionStrings.ProjectArgumentDescription,
Commands\Reference\ReferenceRemoveCommandDefinition.cs (2)
22Description = CommandDefinitionStrings.ReferenceRemoveProjectPathArgumentDescription, 28Description = CommandDefinitionStrings.ReferenceRemoveCmdFrameworkDescription,
Commands\Restore\RestoreCommandDefinition.cs (7)
16Description = CommandDefinitionStrings.SolutionOrProjectOrFileArgumentDescription, 36Description = CommandDefinitionStrings.CmdUseLockFileOptionDescription, 42Description = CommandDefinitionStrings.CmdLockedModeOptionDescription, 48Description = CommandDefinitionStrings.CmdLockFilePathOptionDescription, 54Description = CommandDefinitionStrings.CmdReevaluateOptionDescription, 117Description = CommandDefinitionStrings.CmdRuntimeOptionDescription, 126Description = CommandDefinitionStrings.CmdNoDependenciesOptionDescription,
Commands\Run\RunCommandDefinition.cs (10)
22Description = CommandDefinitionStrings.CmdProjectDescriptionFormat, 28Description = CommandDefinitionStrings.CommandOptionFileDescription, 36Description = CommandDefinitionStrings.CommandOptionLaunchProfileDescription, 42Description = CommandDefinitionStrings.CommandOptionNoLaunchProfileDescription, 48Description = CommandDefinitionStrings.CommandOptionNoLaunchProfileArgumentsDescription 53Description = CommandDefinitionStrings.CommandOptionDeviceDescription, 59Description = CommandDefinitionStrings.CommandOptionListDevicesDescription, 67Description = CommandDefinitionStrings.CommandOptionNoBuildDescription, 79Description = CommandDefinitionStrings.CommandOptionNoCacheDescription, 98Description = "Arguments passed to the application that is being run."
Commands\Solution\SolutionAddCommandDefinition.cs (4)
13Description = CommandDefinitionStrings.AddProjectPathArgumentDescription, 21Description = CommandDefinitionStrings.InRoot 28Description = CommandDefinitionStrings.AddProjectSolutionFolderArgumentDescription 33Description = CommandDefinitionStrings.SolutionAddReferencedProjectsOptionDescription,
Commands\Solution\SolutionCommandDefinition.cs (1)
20Description = CommandDefinitionStrings.SolutionArgumentDescription,
Commands\Solution\SolutionListCommandDefinition.cs (1)
12Description = CommandDefinitionStrings.ListSolutionFoldersArgumentDescription,
Commands\Solution\SolutionRemoveCommandDefinition.cs (1)
13Description = CommandDefinitionStrings.RemoveProjectPathArgumentDescription,
Commands\Test\TestCommandDefinition.MicrosoftTestingPlatform.cs (16)
16Description = CommandDefinitionStrings.CmdProjectOrSolutionDescriptionFormat, 23Description = CommandDefinitionStrings.CmdSolutionDescription, 30Description = CommandDefinitionStrings.CmdTestModulesDescription, 36Description = CommandDefinitionStrings.CmdTestModulesRootDirectoryDescription, 44Description = CommandDefinitionStrings.CmdResultsDirectoryDescription, 53Description = CommandDefinitionStrings.CmdConfigFileDescription, 62Description = CommandDefinitionStrings.CmdDiagnosticOutputDirectoryDescription, 69Description = CommandDefinitionStrings.CmdMaxParallelTestModulesDescription, 75Description = CommandDefinitionStrings.CmdMinimumExpectedTestsDescription, 87Description = CommandDefinitionStrings.CmdNoBuildDescription 92Description = CommandDefinitionStrings.CmdNoAnsiDescription, 98Description = CommandDefinitionStrings.CmdNoProgressDescription, 104Description = CommandDefinitionStrings.CmdTestOutputDescription, 112Description = CommandDefinitionStrings.CmdListTestsDescription, 118Description = CommandDefinitionStrings.CommandOptionNoLaunchProfileDescription, 124Description = CommandDefinitionStrings.CommandOptionNoLaunchProfileArgumentsDescription
Commands\Test\TestCommandDefinition.VSTest.cs (17)
16Description = CommandDefinitionStrings.CmdSettingsDescription, 22Description = CommandDefinitionStrings.CmdListTestsDescription, 30Description = CommandDefinitionStrings.CmdTestCaseFilterDescription, 36Description = CommandDefinitionStrings.CmdTestAdapterPathDescription, 43Description = CommandDefinitionStrings.CmdLoggerDescription, 54Description = CommandDefinitionStrings.CmdOutputDescription, 63Description = CommandDefinitionStrings.CmdPathTologFileDescription, 70Description = CommandDefinitionStrings.CmdNoBuildDescription, 76Description = CommandDefinitionStrings.CmdResultsDirectoryDescription, 82Description = CommandDefinitionStrings.cmdCollectDescription, 89Description = CommandDefinitionStrings.CmdBlameDescription, 95Description = CommandDefinitionStrings.CmdBlameCrashDescription, 103Description = CommandDefinitionStrings.CmdBlameCrashCollectAlwaysDescription, 109Description = CommandDefinitionStrings.CmdBlameHangDescription, 117Description = CommandDefinitionStrings.CmdBlameHangTimeoutDescription, 137Description = CommandDefinitionStrings.CmdBlameCrashDumpTypeDescription, 149Description = CommandDefinitionStrings.CmdBlameHangDumpTypeDescription,
Commands\Tool\StoreCommandDefinition.cs (6)
20Description = CommandDefinitionStrings.ProjectManifestDescription, 41Description = CommandDefinitionStrings.FrameworkVersionOptionDescription, 47Description = CommandDefinitionStrings.StoreOutputOptionDescription, 53Description = CommandDefinitionStrings.IntermediateWorkingDirOptionDescription, 59Description = CommandDefinitionStrings.SkipOptimizationOptionDescription, 65Description = CommandDefinitionStrings.SkipSymbolsOptionDescription,
Commands\Tool\ToolAppliedOption.cs (12)
14Description = description 20Description = description, 25Description = CommandDefinitionStrings.UpdateAllOptionDescription, 31Description = CommandDefinitionStrings.ToolInstallVersionOptionDescription, 38Description = description, 45Description = description, 50Description = CommandDefinitionStrings.ToolSearchPrereleaseDescription, 56Description = CommandDefinitionStrings.RollForwardOptionDescription, 62Description = CommandDefinitionStrings.ToolInstallConfigFileOptionDescription, 68Description = CommandDefinitionStrings.ToolInstallSourceOptionDescription, 74Description = CommandDefinitionStrings.ToolInstallAddSourceOptionDescription, 80Description = CommandDefinitionStrings.AllowPackageDowngradeOptionDescription,
Commands\Tool\ToolExecuteCommandDefinition.cs (1)
23Description = CommandDefinitionStrings.ToolRunArgumentsDescription
Commands\Tool\ToolInstallCommandDefinition.cs (2)
14Description = CommandDefinitionStrings.CreateManifestIfNeededOptionDescription, 22Description = CommandDefinitionStrings.ArchitectureOptionDescription
Commands\Tool\ToolListCommandDefinition.cs (2)
13Description = CommandDefinitionStrings.ToolListPackageIdArgumentDescription, 26Description = CommandDefinitionStrings.ToolListFormatOptionDescription
Commands\Tool\ToolRunCommandDefinition.cs (3)
15Description = CommandDefinitionStrings.CommandNameArgumentDescription 20Description = CommandDefinitionStrings.ToolRunArgumentsDescription 25Description = CommandDefinitionStrings.RollForwardOptionDescription,
Commands\Tool\ToolSearchCommandDefinition.cs (4)
13Description = CommandDefinitionStrings.ToolSearchSearchTermDescription 18Description = CommandDefinitionStrings.DetailDescription, 24Description = CommandDefinitionStrings.ToolSearchSkipDescription, 30Description = CommandDefinitionStrings.ToolSearchTakeDescription,
Commands\Tool\ToolUninstallCommandDefinition.cs (1)
13Description = CommandDefinitionStrings.PackageReference,
Commands\Tool\ToolUpdateInstallCommandDefinition.cs (1)
27Description = CommandDefinitionStrings.ToolInstallFrameworkOptionDescription,
Commands\Workload\InstallingWorkloadCommandDefinition.cs (6)
18Description = CommandDefinitionStrings.WorkloadSetVersionOptionDescription, 24Description = CommandDefinitionStrings.PrintDownloadLinkOnlyDescription, 30Description = CommandDefinitionStrings.FromCacheOptionDescription, 37Description = CommandDefinitionStrings.IncludePreviewOptionDescription 42Description = CommandDefinitionStrings.DownloadToCacheOptionDescription, 49Description = CommandDefinitionStrings.FromRollbackDefinitionOptionDescription,
Commands\Workload\WorkloadCleanCommandDefinition.cs (1)
12Description = CommandDefinitionStrings.CleanAllOptionDescription
Commands\Workload\WorkloadCommandDefinition.cs (2)
28Description = CommandDefinitionStrings.WorkloadInfoDescription, 34Description = CommandDefinitionStrings.WorkloadVersionDescription,
Commands\Workload\WorkloadCommandDefinitionBase.cs (7)
19Description = CommandDefinitionStrings.WorkloadInstallVersionOptionDescription, 28Description = CommandDefinitionStrings.WorkloadIdArgumentDescription 33Description = CommandDefinitionStrings.WorkloadInstallConfigFileOptionDescription, 39Description = CommandDefinitionStrings.WorkloadInstallSourceOptionDescription, 45Description = CommandDefinitionStrings.SkipSignCheckOptionDescription, 52Description = CommandDefinitionStrings.TempDirOptionDescription 59Description = CommandDefinitionStrings.SkipManifestUpdateOptionDescription,
Commands\Workload\WorkloadConfigCommandDefinition.cs (1)
19Description = CommandDefinitionStrings.UpdateModeDescription,
Commands\Workload\WorkloadListCommandDefinition.cs (1)
24Description = CommandDefinitionStrings.IncludePreviewOptionDescription
Commands\Workload\WorkloadRestoreCommandDefinition.cs (1)
12Description = CommandDefinitionStrings.SolutionOrProjectArgumentDescription,
Commands\Workload\WorkloadSearchCommandDefinition.cs (1)
13Description = CommandDefinitionStrings.WorkloadIdStubArgumentDescription
Commands\Workload\WorkloadSearchVersionsCommandDefinition.cs (2)
13Description = CommandDefinitionStrings.WorkloadVersionArgumentDescription 23Description = CommandDefinitionStrings.FormatOptionDescription
Commands\Workload\WorkloadUpdateCommandDefinition.cs (4)
14Description = CommandDefinitionStrings.FromPreviousSdkOptionDescription 19Description = CommandDefinitionStrings.AdManifestOnlyOptionDescription, 31Description = CommandDefinitionStrings.FromHistoryOptionDescription 36Description = CommandDefinitionStrings.HistoryManifestOnlyOptionDescription
Common\CommonArguments.cs (2)
19Description = string.Format(CommandDefinitionStrings.PackageIdentityArgumentDescription, examplePackage, exampleVersion), 28Description = string.Format(CommandDefinitionStrings.PackageIdentityArgumentDescription, examplePackage, exampleVersion),
Common\CommonOptions.cs (20)
17Description = CommandDefinitionStrings.YesOptionDescription, 71Description = "Build these targets in this project. Use a semicolon or a comma to separate multiple targets, or specify each target separately.", 84Description = "Build these targets in this project. Use a semicolon or a comma to separate multiple targets, or specify each target separately.", 144Description = CommandDefinitionStrings.VerbosityOptionDescription, 154Description = CommandDefinitionStrings.VerbosityOptionDescription, 163Description = CommandDefinitionStrings.VerbosityOptionDescription, 175Description = description, 186Description = CommandDefinitionStrings.ArtifactsPathOptionDescription, 193Description = description, 202Description = description, 210Description = CommandDefinitionStrings.CmdVersionSuffixDescription, 226Description = CommandDefinitionStrings.NoRestoreDescription, 232Description = "Restore the project before building it. This is the default behavior.", 254Description = CommandDefinitionStrings.CommandInteractiveOptionDescription, 268Description = CommandDefinitionStrings.DisableBuildServersOptionDescription, 281Description = CommandDefinitionStrings.SelfContainedOptionDescription, 290Description = CommandDefinitionStrings.FrameworkDependentOptionDescription, 297Description = description ?? CommandDefinitionStrings.CmdEnvironmentVariableDescription, 356Description = description ?? CommandDefinitionStrings.NoLogoOptionDescription, 376Description = CommandDefinitionStrings.SDKDiagnosticsCommandDefinition,
Common\ImplicitRestoreOptions.cs (8)
30Description = showHelp ? CommandDefinitionStrings.CmdPackagesOptionDescription : string.Empty, 39Description = showHelp ? CommandDefinitionStrings.CmdDisableParallelOptionDescription : string.Empty, 46Description = showHelp ? CommandDefinitionStrings.CmdConfigFileOptionDescription : string.Empty, 53Description = string.Empty, 60Description = showHelp ? CommandDefinitionStrings.CmdNoHttpCacheOptionDescription : string.Empty, 67Description = showHelp ? CommandDefinitionStrings.CmdIgnoreFailedSourcesOptionDescription : string.Empty, 74Description = CommandDefinitionStrings.CmdForceRestoreOptionDescription, 91Description = showHelp ? CommandDefinitionStrings.CmdSourceOptionDescription : string.Empty,
Common\NuGetRestoreOptions.cs (4)
13Description = CommandDefinitionStrings.CmdDisableParallelOptionDescription, 20Description = CommandDefinitionStrings.CmdNoCacheOptionDescription, 27Description = CommandDefinitionStrings.CmdNoCacheOptionDescription, 34Description = CommandDefinitionStrings.CmdIgnoreFailedSourcesOptionDescription,
Common\TargetPlatformOptions.cs (3)
19Description = CommandDefinitionStrings.ArchitectureOptionDescription, 25Description = CommandDefinitionStrings.OperatingSystemOptionDescription, 61Description = description,
Utilities\OptionExtensions.cs (1)
20o.Description = description;
Microsoft.DotNet.MacOsPkg.Cli (5)
Program.cs (5)
41var unpackSrcArgument = new Argument<string>("src") { Description = "Source path of the .pkg or .app file" }; 42var unpackDestinationArgument = new Argument<string>("dst") { Description = "Destination path to unpack the file" }; 54var packSrcArgument = new Argument<string>("src") { Description = "Source path to pack." }; 55var packDstArgument = new Argument<string>("dst") { Description = "Destination path of the .pkg or .app file." }; 67var pkgOrAppArgument = new Argument<string>("src") { Description = "Input pkg or app to verify." };
Microsoft.DotNet.VersionTools.Cli (3)
Program.cs (3)
24Description = "Path to the directory where the assets are located", 30Description = "The search string to match against the names of subdirectories in --assets-path. See Directory.GetFiles for details.", 36Description = "Search for assets recursively.",
Microsoft.NET.Sdk.BlazorWebAssembly.Tool (3)
Program.cs (3)
21Description = "System.IO.Compression.CompressionLevel for the Brotli compression algorithm.", 25Description = "A list of files to compress.", 30Description = "The filenames to output the compressed file to.",
Microsoft.NET.Sdk.StaticWebAssets.Tool (3)
Program.cs (3)
21Description = "System.IO.Compression.CompressionLevel for the Brotli compression algorithm." 25Description = "A list of files to compress.", 30Description = "The filenames to output the compressed file to.",
Microsoft.TemplateEngine.Cli (5)
CliTemplateParameter.cs (1)
182option.Description = GetOptionDescription();
Commands\create\TemplateCommand.cs (4)
69LanguageOption.Description = SymbolStrings.TemplateCommand_Option_Language; 94TypeOption.Description = SymbolStrings.TemplateCommand_Option_Type; 102BaselineOption.Description = SymbolStrings.TemplateCommand_Option_Baseline; 111Description = SymbolStrings.TemplateCommand_Option_AllowScripts,
NuGet.CommandLine.XPlat (32)
Commands\CommonOptions.cs (1)
18Description = Strings.Verbosity_Description
Commands\ConfigCommands\ConfigCommand.cs (7)
26Description = Strings.ConfigSetConfigKeyDescription, 32Description = Strings.ConfigUnsetConfigKeyDescription, 38Description = Strings.ConfigSetConfigValueDescription, 44Description = Strings.ConfigGetAllOrConfigKeyDescription 50Description = Strings.ConfigPathsWorkingDirectoryDescription 56Description = Strings.ConfigGetShowPathDescription, 62Description = Strings.Option_ConfigFile,
Commands\Package\Download\PackageDownloadCommand.cs (6)
31Description = Strings.PackageUpdate_PackageArgumentDescription, 39Description = Strings.PackageDownloadCommand_AllowInsecureConnectionsDescription, 45Description = Strings.Option_ConfigFile, 51Description = Strings.PackageDownloadCommand_OutputDirectoryDescription, 57Description = Strings.Prerelease_Description, 63Description = Strings.PackageDownloadCommand_SourcesDescription,
Commands\Package\Update\PackageUpdateCommand.cs (3)
29Description = Strings.PackageUpdate_PackageArgumentDescription, 36projectOption.Description = Strings.PackageUpdateCommand_ProjectOptionDescription; 40vulnerableOption.Description = Strings.PackageUpdateCommand_VulnerableOptionDescription;
Commands\PackageSearch\PackageSearchCommand.cs (10)
32Description = Strings.pkgSearch_termDescription, 38Description = Strings.pkgSearch_SourceDescription, 44Description = Strings.pkgSearch_ExactMatchDescription, 50Description = Strings.pkgSearch_PrereleaseDescription, 56Description = Strings.pkgSearch_InteractiveDescription, 62Description = Strings.pkgSearch_TakeDescription, 68Description = Strings.pkgSearch_SkipDescription, 74Description = Strings.pkgSearch_FormatDescription, 80Description = Strings.pkgSearch_VerbosityDescription, 86Description = Strings.Option_ConfigFile,
Commands\Why\WhyCommand.cs (3)
67Description = Strings.WhyCommand_PathArgument_Description, 102Description = Strings.WhyCommand_PackageArgument_Description, 108Description = Strings.WhyCommand_FrameworksOption_Description,
NuGetCommands.cs (1)
51Description = Strings.AddPkg_InteractiveDescription,
Program.cs (1)
111interactiveOption.Description = Strings.AddPkg_InteractiveDescription;
System.CommandLine (3)
Command.cs (1)
39=> Description = description;
Help\HelpOption.cs (1)
36Description = LocalizationResources.HelpOptionDescription();
VersionOption.cs (1)
37Description = LocalizationResources.VersionOptionDescription();
System.CommandLine.StaticCompletions (1)
CompletionsCommandDefinition.cs (1)
12Description = Strings.CompletionsCommand_ShellArgument_Description,
33 references to Description
aspire (7)
Commands\ConfigCommand.cs (2)
61Debug.Assert(cmd.Description is not null); 62return cmd.Description.TrimEnd('.');
Commands\GroupedHelpWriter.cs (5)
38if (!string.IsNullOrEmpty(command.Description)) 40writer.WriteLine(command.Description); 136var description = cmd.Description ?? string.Empty; 163var desc = opt.Description ?? string.Empty; 180var description = cmd.Description ?? string.Empty;
Aspire.Cli.Tests (7)
Commands\NewCommandTests.cs (5)
53Assert.Contains(command.Subcommands, subcommand => subcommand.Name == KnownTemplateId.CSharpEmptyAppHost && subcommand.Description == "Empty (C# AppHost)"); 54Assert.Contains(command.Subcommands, subcommand => subcommand.Name == KnownTemplateId.TypeScriptEmptyAppHost && subcommand.Description == "Empty (TypeScript AppHost)"); 928Assert.Contains(command.Subcommands, subcommand => subcommand.Name == KnownTemplateId.DotNetEmptyAppHost && subcommand.Description == "Empty (C# AppHost, dotnet template)"); 929Assert.Contains(command.Subcommands, subcommand => subcommand.Name == KnownTemplateId.CSharpEmptyAppHost && subcommand.Description == "Empty (C# AppHost)"); 930Assert.Contains(command.Subcommands, subcommand => subcommand.Name == KnownTemplateId.TypeScriptEmptyAppHost && subcommand.Description == "Empty (TypeScript AppHost)");
Commands\RootCommandTests.cs (2)
221Assert.NotNull(RootCommand.BannerOption.Description); 222Assert.NotEmpty(RootCommand.BannerOption.Description);
dotnet (4)
CliSchema.cs (4)
115description: command.Description?.ReplaceLineEndings("\n"), 178subCommand.Description?.ReplaceLineEndings("\n"), 187option.Description?.ReplaceLineEndings("\n"), 211argument.Description?.ReplaceLineEndings("\n"),
Microsoft.DotNet.Cli.Definitions (3)
Help\HelpBuilder.cs (1)
213var symbolDescription = customizedSymbolDescription ?? symbol.Description ?? string.Empty;
Help\HelpBuilder.Default.cs (2)
43public static string GetArgumentDescription(Argument argument) => argument.Description ?? string.Empty; 117ctx.HelpBuilder.WriteHeading(LocalizationResources.HelpDescriptionTitle(), ctx.Command.Description, ctx.Output);
Microsoft.TemplateEngine.Cli (1)
Commands\BaseCommand.cs (1)
24: Command(definition.Name, definition.Description)
System.CommandLine (5)
Command.cs (2)
343completions.Add(new CompletionItem(identifier.Name, CompletionItem.KindKeyword, detail: identifier.Description)); 352completions.Add(new CompletionItem(alias, CompletionItem.KindKeyword, detail: identifier.Description));
Help\HelpBuilder.cs (1)
435var symbolDescription = customizedSymbolDescription ?? symbol.Description ?? string.Empty;
Help\HelpBuilder.Default.cs (2)
63public static string GetArgumentDescription(Argument argument) => argument.Description ?? string.Empty; 188ctx.HelpBuilder.WriteHeading(LocalizationResources.HelpDescriptionTitle(), ctx.Command.Description, ctx.Output);
System.CommandLine.StaticCompletions (6)
shells\FishShellProvider.cs (2)
327WriteCandidate(writer, sub.Name, SanitizeDescription(sub.Description)); 333var desc = SanitizeDescription(option.Description);
shells\PowershellShellProvider.cs (1)
84private static string? SanitizeHelpDescription(Symbol s) => s.Description?.ReplaceLineEndings(" ").Replace("`", "``").Replace("'", "`'").Replace("\"", "`\"").Replace("$", "`$");
shells\ZshShellProvider.cs (3)
84var helpText = SanitizeHelp(option.Description); 132var helpText = SanitizeHelp(arg.Description is string d ? " -- " + d : ""); 258writer.WriteLine($"'{subcommand.Name}:{SanitizeHelp(subcommand.Description)}' \\");