audit
This document provides an overview of the commands and options available under buck2 audit.
buck2 audit
Perform lower level queries
Usage: buck2 audit <COMMAND>
Subcommands:
cell: Query information about the [cells] list in .buckconfig.file-package: Map file paths to fully qualified package names.classpath: Prints out a target's classpaths if it has one. This command is deprecated and currently available for compatibility with buck1. We will replace this command with something that can audit the entireTemplatePlaceholderInfoin the future.config: Read and display buckconfig values.configurations: prints the constraints for configuration IDsincludes: list build file extensions imported at parse time.prelude: print the interpreter prelude to stdoutproviders: prints out the providers for a target patternsubtargets: Print all subtargetsanalysis-queries: buck audit analysis resolving query attrsexecution-platform-resolution: prints out information about execution platform resolutionvisibility: Verify the visibility for transitive deps of the specified target(s) on the unconfigured target graphstarlark: Debug Starlark interpreterdep-files: prints out the select files for a commanddeferred-materializer: Access and interact with the deferred materializeroutput: Query the action that produced the output artifact. Does not support BXL, test, scratch, or anon artifacts. If the configuration hash of the output path does not match the current platform configuration, the unconfigured target label will be returned.parse: Parses the buck-out path into parts that may be useful (ex: config hash, file path to artifact).package-values: Inspect package valuesperf: Commands for checking buck2 performance