Print paths to declared output files
Queries for the outputs declared by actions generated by the given target or the target(s) in the given query expression.
Prints each output file on a line, with the mnemonic of the action that produces it, followed by a path to the file, relative to the workspace root.
You can optionally provide an extra argument, which is a filter on the mnemonic.
'ExecutableHash' is a special value for the mnemonic. This combines the ExecutableSymlink and SourceSymlinkManifest mnemonics, then hashes the outputs of these two. This provides a good hash for an executable target to determine if it has changed.
aspect outputs <expression> [mnemonic] [flags]
# Show all outputs of the //cli/pro target, which is a go_binary:
% aspect outputs //cli/pro
# Show just the output of the GoLink action, which is the executable produced by a go_binary:
% aspect outputs //cli/pro GoLink
# Show the outputs of all targets that contain the 'deliverable' tag
% aspect outputs 'attr("tags", "\bdeliverable\b", //...)'
-h, --help help for outputs
Options inherited from parent commands
--aspect:config string User-specified Aspect CLI config file. /dev/null indicates that all further --aspect:config flags will be ignored.
--aspect:interactive Interactive mode (e.g. prompts for user input)
- aspect - Aspect CLI