github / github/codeql-cli-binaries

Allow index-files to specify file target list?

Đang mở
#74 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
CLI
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
1k
Fork
184
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.