dotnet / dotnet/command-line-api

Is it possible to make option dashes - optional?

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

Description

Hello,

Is there a way for options to be parsed without the required dashes, and instead, be deliminated by spaces?

i.e.

myapp.exe -o -f -e

could be parsed with only spaces instead of dashes...

myappe.exe o f e

I realize this is non-standard and eccentric.

Thank you for all your hard work on this fantastic library!

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.