github / github/codeql-cli-binaries

Allow index-files to specify file target list?

Aperta
#74 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
CLI
Lingua principale
Nessun dato sulla lingua
Stelle
1k
Fork
184
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.