cheeplusplus / cheeplusplus/fa-export-cli
CLI Treats Usernames Beginning With Dashes as Options and Crashes
- 主要語言
- TypeScript
- 星號
- 7
- 分支
- 2
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I'm using the v0.0.4 release linux binary on Debian 12 and I have discovered an issue where if I want to try archiving a user who has a username beginning with a "-" character, the tool will try to parse it as option instead of as a username, and error. I've not been able to escape this character through any of the usual means, ' " \, it always interprets it as a non-existent option. It is worth explicitly calling out that names starting with "-" are a valid username, and I'm actually seeing quite a number of users in the wild using it as such. Some users even use "--" or "---", and these also crash the program. Any number of dashes at the start of a name are valid FA usernames.

I will try to take a look at the code, but I'm not a Node developer and a new user to this project, so if you have any insight please feel free to let me know.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
首先定位封存使用者名稱時所使用的 CLI 引數解析進入點。使用以一個或多個連字號開頭的使用者名稱重現此失敗,然後確認這些名稱會被接受為使用者名稱,同時一般選項仍可正常運作。當以連字號開頭的 FA 使用者名稱可以被封存,而不會被當作選項處理時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- typescript
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100