| File: CommonOptionNames.cs | Web Access |
| Project: src\src\Aspire.Cli\Aspire.Cli.csproj (aspire) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Aspire.Cli; /// <summary> /// Common command-line option names used for manual argument checks. /// </summary> internal static class CommonOptionNames { public const string Version = "--version"; public const string VersionShort = "-v"; public const string Help = "--help"; public const string HelpShort = "-h"; public const string HelpAlt = "-?"; public const string NoLogo = "--nologo"; public const string Banner = "--banner"; public const string Debug = "--debug"; public const string DebugShort = "-d"; public const string NonInteractive = "--non-interactive"; public const string WaitForDebugger = "--wait-for-debugger"; public const string CliWaitForDebugger = "--cli-wait-for-debugger"; /// <summary> /// Options that represent informational commands (e.g. --version, --help) which should /// opt out of telemetry and suppress first-run experience. /// </summary> public static readonly string[] InformationalOptionNames = [Version, Help, HelpShort, HelpAlt]; }