-
Notifications
You must be signed in to change notification settings - Fork 399
Unify handling of missing parameter(s)/option(s) #4806
Copy link
Copy link
Closed as not planned
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)triage:close-wont-fixOld/stale issue, unlikely to be addressedOld/stale issue, unlikely to be addressedtriagedThe 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
Description
Activity
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)triage:close-wont-fixOld/stale issue, unlikely to be addressedOld/stale issue, unlikely to be addressedtriagedThe 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.
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