commandlineparser / commandlineparser/commandline

Add Overload :: Parser.ParseArguments(string args)

Aperta
#795 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
4.8k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.