github / github/codeql-cli-binaries

Allow index-files to specify file target list?

未关闭
#74 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
CLI
主要语言
没有语言数据
星标
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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。