Commands from files not displaying description
还没有人认领这个 Issue。
评估
调研方向
首先,使用 command():file() 函数和 examples/04_commands--git.lua,通过 --help 重现缺失的描述。跟踪如何从文件加载并显示命令描述;当示例的命令描述出现在其 --help 输出中时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I'm experimenting with the new command features and not having much luck getting the command description to display with --help when using the command():file() function.
Is this a known issue or am I using it wrong? I've tried a couple different things, and haven't gotten it to work.
For what it's worth, I'm seeing the same behavior with the examples/04_commands--git.lua sample.
- 主要语言
- Lua
- 星标
- 129
- 派生
- 26
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
lunarmodules/lua_cliargs 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
lunarmodules/lua_cliargs#85 · 1 条评论 ·
-
Parsing --help needs to return something other than an error可能已有人在做 @TheMagician23 于 1041 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
lunarmodules/lua_cliargs#72 · 1 条评论 ·
-
Option to accept multiple options not documented可能已有人在做 @copilot-swe-agent 于 79 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 48/100
lunarmodules/lua_cliargs#70 ·
-
难度 3/5 1-2 天 新手友好度 55/100
lunarmodules/lua_cliargs#69 ·
-
难度 3/5 1-2 天 新手友好度 35/100
lunarmodules/lua_cliargs#68 ·
查看 lunarmodules/lua_cliargs 的全部 Issue
相似的 Issue
-
severity: low
难度 1/5 1-3 小时 新手友好度 89/100
luainkernel/lunatik#1980 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 76/100
-
documentation
难度 2/5 1-3 小时 新手友好度 68/100
petertriho/nvim-scrollbar#120 ·
-
Addon Conflict Bug Forever Module - Tracker
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复