LuaLS / LuaLS/lua-language-server

add a `--help`command

未關閉
#2,097 1 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

enhancement
主要語言
Lua
星號
4.4k
分支
442
PR 合併指標
30 天內沒有已合併 PR

描述

I was trying to debug a lua-language-server command I found on a CI pipeline but I was not able to make sense of the command line without internet access and especially access to https://github.com/LuaLS/lua-language-server/wiki/Configuration-File

How is one supposed to discover the arguments ? Most programs I know support a --help argument that presents the available flags/commands. I wish we could have one. Also it avoids the problem of documentation going out of sync: the wiki page mentions check as a boolean but my version 3.6.19 says it expects a string

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先找出 lua-language-server 使用的命令列進入點與引數解析;issue 未指定任何檔案或測試。將接受的引數與 Configuration File wiki 頁面進行比較,然後確認使用 --help 呼叫命令時會列出可用的 flags,並反映其實際的值型別。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
lua
領域
cli
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。