Note
This content describes the most recent release of the CodeQL CLI. For more information about this release, see https://github.com/github/codeql-cli-binaries/releases .
To see details of the options available for this command in an earlier release, run the command with the --help option in your terminal.
Convert result data from BQRS into other forms.
Compute the difference between two result sets.
[Plumbing] Compute a stable hash of a BQRS file.
Analyze a database, producing meaningful results in the context of the
source code.
Create a CodeQL database for a source tree that can be analyzed using
one of the CodeQL products.
[Advanced] [Plumbing] Import unfinalized database(s) into another
unfinalized database.
[Plumbing] Check a particular dataset for internal consistency.
[Plumbing] Collect statistics about the relations in a particular
dataset.
[Plumbing] Upgrade a dataset so it is usable by the current tools.
[Experimental] [Plumbing] Add a piece of diagnostic information.
[Deep plumbing] Server for running multiple commands while avoiding
repeated JVM initialization.
Adds a list of QL library packs with optional version
ranges as dependencies of the current package, and then installs them.
Install dependencies for this pack, verifying that the
existing lock file is up to date.
[Plumbing] Builds the contents of a QL package from
source code.
Download the set of qlpacks referenced by the query
spec of the command line from the registry. Packs can be provided by
name or implicitly inside of a query suite (.qls) file.
Initializes a qlpack in the specified directory.
[Deep plumbing] List the CodeQL packages rooted at
this directory. This directory must contain a qlpack.yml or
.codeqlmanifest.json file.
[Plumbing] Compute the set of files to be included in
a QL query pack or library pack.
Publishes a QL library pack to a package registry.
Update the dependencies for this pack to the latest
available versions.
[Plumbing] Read an intermediate representation of a compiled query
from a .qlo file.
[Experimental] [Deep plumbing] Determine accessible extensions. This
includes machine learning models and data extensions.
[Experimental] [Deep plumbing] Determine accessible extensions for
the given paths to pack roots. This includes machine learning models and
data extensions.
[Deep plumbing] Determine the extractor pack to use for a given
language.
[Deep plumbing] Expand a set of file inclusion/exclusion globs.
[Deep plumbing] Resolve and return the key-value metadata pairs from a
query source file.
[Deprecated] [Experimental] [Deep plumbing] Determine accessible
machine learning models.
Display a list of available CodeQL packs and their locations.
[Deep plumbing] Dereferences a .qlref file to return a .ql one.
[Deep plumbing] Expand query directories and suite specifications.
[Deep plumbing] Find QL unit tests in given directories.
[Plumbing] Build a dataset for a test directory.
Show the version of the CodeQL toolchain.