Skip to content

Allow index-files to specify file target list? #74

@Manouchehri

Description

@Manouchehri

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:

codeql database index-files --language=javascript --file-list=targets.txt my_database

And targets.txt would look like:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions