dotnet / dotnet/command-line-api

Command with a default option alias (not value)

Open
#1,355 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

Given a command with one option, is there a way to not need to specify that option alias?

From ```app.exe subcommand -a 123``` to ```app.exe subcommand 123``` omitting the ```-a```

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.