commandlineparser / commandlineparser/commandline

Support for a Configuration File and other alternative sources

Offen
#689 0 Kommentare 2 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

Many applications can indeed be built by having explicit command line arguments, especially when a number of arguments is a small number, but when the number of arguments is bigger there might be a temptation to carry, end especially distribute, those in a Configuration File instead of supplying as individual arguments.

Would be good if the library could provide an implementation or an abstraction to merge application's arguments from various places like, Command Line, Configuration File, ... This would mean the library could apply all its beauty, like a help, required parameters check and many others, to all those configuration sources.

Have you considered extending the library to support these scenarios? I understand this would mean the library cannot be called anymore "Command Line Parser" but at the same time I think those above requirements would require the core library parsing/error reporting/... changes to organically support multiple different configuration sources.

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.