dotnet / dotnet/command-line-api

Options provided before all command names fails execution

Open
#1,116 2 comments 0 reactions 0 assignees View on GitHub
waiting-on-feedback
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

When options are included as arguments between sub-commands execution will fail with an ambiguous error.

E.g.
```
executable command --option-one value subcommand
```

The only means in which to produce a successful execution is to postfix all options - at which point it is processed successfully.

E.g.
```
executable command subcommand --option-one value
```

Library Version: 2.0.0-beta1.20574.7
Framework: dotnet-core 3.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.