-
Notifications
You must be signed in to change notification settings - Fork 397
Unify handling of missing parameter(s)/option(s) #4806
Copy link
Copy link
Open
Labels
Priority:2Work that is important, but not critical for the releaseWork that is important, but not critical for the releasearea: CLIRelated to dotnet new CLI (usually dotnet/TemplateEngine.CLI source code)Related to dotnet new CLI (usually dotnet/TemplateEngine.CLI source code)triagedThe issue was evaluated by the triage team, placed on correct area, next action defined.The issue was evaluated by the triage team, placed on correct area, next action defined.
Milestone
Metadata
Metadata
Assignees
Labels
Priority:2Work that is important, but not critical for the releaseWork that is important, but not critical for the releasearea: CLIRelated to dotnet new CLI (usually dotnet/TemplateEngine.CLI source code)Related to dotnet new CLI (usually dotnet/TemplateEngine.CLI source code)triagedThe issue was evaluated by the triage team, placed on correct area, next action defined.The issue was evaluated by the triage team, placed on correct area, next action defined.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Current situation:
Some cases are handled by top-level parser in sdk as invalid comand (Example: #4787 (comment)), some are handled within templating with an paropriate exit code (Example:
templating/docs/Exit-Codes.md
Line 100 in c2f9202
Expected behavior:
All cases of missing mandatory arguments or options will lead to same exit code. The handling should ideally be unified within the
System.CommandLineParser