CLI: --files parameter is unwieldy
还没有人认领这个 Issue。
评估
调研方向
Start by locating the CLI argument parsing for the libman install command and how repeated --files values are currently handled. Compare it with the proposed GNU-style behavior, including the case where --destination and foo follow --files; done means multiple file names can be supplied without repeating the option and the existing command still behaves correctly.
由索引模型根据 Issue 内容生成。
描述
Functional impact
It's inconvenient to type --files for every individual file (also, why is --files pluralized if it can only specify one file?)
Minimal repro steps
libman install [email protected] --files jquery.js --files jquery.min.js --files jquery.min.map
Expected result
--files ought to be the last parameter, and everything after it should be considered a file name. This proposed behavior is similar to the -- parameter in GNU convention.
The above command could be simplified to:
libman install [email protected] --files jquery.js jquery.min.js jquery.min.map
In the following, --destination and foo would be considered file names.
libman install [email protected] --files jquery.js jquery.min.js jquery.min.map --destination foo
Actual result
It's tedious.
- 主要语言
- C#
- 星标
- 485
- 派生
- 92
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aspnet/LibraryManager 的其他 Issue
-
System.IO.IOException: The process cannot access the file because it is being used by another process可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
aspnet/LibraryManager#824 · 1 条评论 · 3 个 reaction ·
-
Add documentation about using `Microsoft.Web.LibraryManager.Build`可能已有人在做 @jimmylewis 于 318 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 68/100
aspnet/LibraryManager#804 · 2 个 reaction ·
-
难度 1/5 1 小时以内 新手友好度 48/100
aspnet/LibraryManager#829 · 1 条评论 · 3 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 42/100
aspnet/LibraryManager#820 ·
-
难度 4/5 3-5 天 新手友好度 35/100
aspnet/LibraryManager#808 · 5 条评论 ·
查看 aspnet/LibraryManager 的全部 Issue
相似的 Issue
-
python triage
难度 2/5 1-3 小时 新手友好度 82/100
microsoft/semantic-kernel#14590 ·
维护者通常 3 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
nkdAgility/azure-devops-migration-tools#3226 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Status: New
难度 1/5 1 小时以内 新手友好度 80/100
dnnsoftware/Dnn.Platform#7556 · 1 个 reaction ·
维护者通常 1 天内回复