Skip to content

Unify handling of missing parameter(s)/option(s) #4806

Description

@JanKrivanek

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:

_Examples:_
)

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.CommandLine Parser

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:2Work that is important, but not critical for the releasearea: CLIRelated to dotnet new CLI (usually dotnet/TemplateEngine.CLI source code)triage:close-wont-fixOld/stale issue, unlikely to be addressedtriagedThe issue was evaluated by the triage team, placed on correct area, next action defined.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions