commandlineparser / commandlineparser/commandline
Options as Global Variables?
Offen
- Vorherrschende Sprache
- C#
- Sterne
- 4.8k
- Forks
- 478
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I would like to be able to access Options. via methods, and effectively use them as global variables
e.g.
public static string OptionA = Options.OptionA;
public static string OptionB = Options.OptionB;
Is there any way to access the parsed options globally via methods, or do I need to copy them into global variables manually?
Thanks so much for the help!
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.