Improvements to `CliArgs`
维护者通常 1 天内回复
@PhilipFackler 已经在做这个了。
开始于 2026年5月6日。
评估
这个 Issue 还没有评估数据。
描述
Summary
My initial implementation of CliArgs was enough to used in the example application, but there are some improvements that should ideally be made (see #341). Here I list my ideas that I did not yet implement.
Description
- Use
std::anyinstead of string forArgValuerepresentation. Check against specified type when setting the value. Might be better to usestd::variantand limit possible input types. - Allow for positional arguments (
.name = {"pos"}) - Handle equal sign:
--opt=arg(currently flag and value must be space-separated)
Other ideas
- Introduce an
operator Tfunction inArgValueandArgVectorto allow implicit conversion
- 主要语言
- C++
- 星标
- 27
- 派生
- 11
- 平均合并
- 2 天 21 小时
- 30 天内合并 PR
- 15
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ORNL/GridKit 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
ORNL/GridKit#587 · 1 个 reaction ·
维护者通常 1 天内回复
-
Companion OPF models for PD initialization constraints可能已有人在做 @lukelowry 于 3 天前认领。 未关闭IVP question
维护者通常 1 天内回复
-
Extract CommonMath functions可能已有人在做 @amandeep25100-a11y 于 6 天前认领。 未关闭cleanup
难度 4/5 3-5 天 新手友好度 54/100
维护者通常 1 天内回复
-
enhancement question
难度 5/5 一周以上 新手友好度 30/100
ORNL/GridKit#624 · 2 条评论 · 2 个 reaction ·
维护者通常 1 天内回复
-
Add support for hierarchical modeling to the JSON format case file specifications可能已有人在做 @abirchfield 于 33 天前认领。 未关闭documentation enhancement new case question
ORNL/GridKit#619 · 8 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
ROCm/FastFlowLM#1057 ·
维护者通常 1 天内回复
-
documentation GPU low priority
难度 1/5 1-3 小时 新手友好度 87/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
Simba-Avionic/srp#510 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 86/100
维护者通常 1 天内回复