public ModelBuilder arguments(Arguments arguments) {
        this.arguments = arguments;

        // Determine how to format the output, whether it's text (the default) or CSV.
        // Only some commands (like validate) actually let you customize the output format, so assume a default.
        if (validationOutputFormat == null) {
            validationOutputFormat(arguments.hasReceiver(ValidationEventFormatOptions.class)
                    ? arguments.getReceiver(ValidationEventFormatOptions.class).format()
                    : ValidationEventFormatOptions.Format.TEXT);
        }

        return this;
    }
Loads, builds, and report validation issues with models.
smithy-cli/src/main/java/software/amazon/smithy/cli/commands/ModelBuilder.java