pub fn format(
args: ValidateArgs,
output_format: OutputFormat,
pretty: bool,
) -> Result<(), Error>
Expand description
Formats a file according to a BUILDINFO schema.
Validates and prints the parsed file in the specified output format to stdout.
The output will be pretty-printed if the pretty
flag is set to true
and if the format
supports it.