commandlineparser / commandlineparser/commandline

Add Overload :: Parser.ParseArguments(string args)

Offen
#795 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
4.8k
Forks
478
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Is there any interest in allowing the `ParseArguments` method to accept a single scalar argument?

My use case is a console app that, if no arguments are supplied, goes into REPL mode.

I'd like to use this package to handle text the user puts into the REPL but it comes as a single `string`, not a `string[]`. I can roll my own or look for another package but figured I'd ask.

If there's interest, I'll work on PR.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.