| description | Reference for the codeql resolve languages command |
|---|
The codeql resolve languages lists installed CodeQL extractor packs. This is an internal/plumbing command of the codeql CLI and, therefore, it is uncommon to directly use the codeql resolve languages subcommand.
When run with JSON output selected, the codeql resolve languages command can report multiple locations for each extractor pack name. When that happens, it means that the pack has conflicting locations within a single search element, so it cannot actually be resolved. The caller may use the actual locations to format an appropriate error message.
The following is an example use of the command for listing available languages:
codeql resolve languages --format=textThe codeql resolve languages command can also provide output in different formats:
# Output in `json` format
codeql resolve languages --format=json# Output in `betterjson` format
codeql resolve languages --format=betterjsonRun codeql resolve languages -h for more information.
Run codeql resolve languages -h -vv for much more information.
- Check system requirements and CodeQL installation
codeql resolve queries- List available CodeQL queries found on the local filesystem, including queries installed via query pack(s).