github / github/codeql-cli-binaries
Allow index-files to specify file target list?
- 主要語言
- 沒有語言資料
- 星號
- 1k
- 分支
- 184
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Instead of manually specifying `--include=src/file1.js`, `--include=src/file2.js`, `--include=src/file3.js`, etc, hundred/thousands of times for large projects, it would be really handy if I could just provide the list of files I want indexed.
Usage would look like:
```sh
codeql database index-files --language=javascript --file-list=targets.txt my_database
```
And `targets.txt` would look like:
```text
src/file1.js
src/file2.js
src/file3.js
```
(Obviously in a real world use-case, it would be a much longer list.)
Semi-related: #9.
貢獻指南
研究方向
Start by reviewing the existing `codeql database index-files` command and the related issue #9. Check how repeated `--include` arguments are handled, then define support for a `--file-list=targets.txt` input containing paths such as `src/file1.js`; done means the listed files are indexed without repeating each argument.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100