public void stdout(CliPrinter stdoutPrinter) {
        this.stdoutPrinter = stdoutPrinter;
    }
Execute the command line using the given arguments.

@param args Arguments to parse.
@return Returns the exit code.
@throws CliError on error.
smithy-cli/src/main/java/software/amazon/smithy/cli/Cli.java