1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Update CodeQL CLI manual (#49633)

This commit is contained in:
docs-bot
2024-03-12 09:44:03 -04:00
committed by GitHub
parent 67d62b981b
commit 77727e84a8
3 changed files with 49 additions and 0 deletions

View File

@@ -100,6 +100,28 @@ analyse. Note that to be able to do this, a GitHub PAT token must be
supplied either in the environment variable GITHUB\_TOKEN or via standard
input using the `--github-auth-stdin` option.
#### `--build-mode=<mode>`
The build mode that will be used to create the database.
Choose your build mode based on the language you are analyzing:
`none`: The database will be created without building the source root.
Available for JavaScript/TypeScript, Python, Ruby.
`autobuild`: The database will be created by attempting to automatically
build the source root. Available for C/C++, C#, Go, Java/Kotlin, and
Swift.
`manual`: The database will be created by building the source root using
a manually specified build command. Available for C/C++, C#, Go,
Java/Kotlin, and Swift.
When creating a database with `--command`, there is no need to
additionally specify '--build-mode none'.
Available since `v2.16.4`.
#### `--[no-]allow-missing-source-root`
\[Advanced] Proceed even if the specified source root does not exist.