public int run(String... args) {
        return createCli().run(args);
    }
Runs the CLI.

@param args Arguments to parse and execute.
@return Returns the exit code.
smithy-cli/src/main/java/software/amazon/smithy/cli/SmithyCli.java