def cli_create_jar(argument_list):
    """
    A subset of "jar" command. Creating new JARs only.
    """

    usage_message = "usage: jarutil c [OPTIONS] file.jar files..."
    parser = argparse.ArgumentParser(usage=usage_message)

    parser.add_argument("jar_file", type=str,
                        help="The file to create")
    parser.add_argument("-m", "--main-class", type=str,
                        help="Specify application entry point")

    args, entries = parser.parse_known_args(argument_list)
    create_jar(args.jar_file, entries)
    return 0
A subset of "jar" command. Creating new JARs only.