Skip to content

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

Open
@JanKrivanek

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

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)triagedThe 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