commandlineparser / commandlineparser/commandline
Options as Global Variables?
未關閉
- 主要語言
- C#
- 星號
- 4.8k
- 分支
- 478
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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!
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
No files, tests, or entry points are named. First clarify whether the requested API should expose parsed options globally and how its lifetime and configuration should work; done would mean an agreed access pattern with coverage for the intended usage.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 20/100