def main():
    if (len(sys.argv) <= 1):
        print_usage()
        sys.exit((- 1))
    global CONFIG_OPTS, DEP_JARS_OPTS, DEP_ARTIFACTS_OPTS, DEP_ARTIFACTS_REPOSITORIES_OPTS, DEP_MAVEN_LOCAL_REPOSITORY_DIRECTORY, DEP_PROXY_URL, DEP_PROXY_USERNAME, DEP_PROXY_PASSWORD
    (config_list, jars_list, artifacts_list, artifact_repositories_list, maven_local_directory, proxy_url, proxy_username, proxy_password, args) = parse_config_opts(sys.argv[1:])
    parse_config(config_list)
    DEP_JARS_OPTS = jars_list
    DEP_ARTIFACTS_OPTS = artifacts_list
    DEP_ARTIFACTS_REPOSITORIES_OPTS = artifact_repositories_list
    DEP_MAVEN_LOCAL_REPOSITORY_DIRECTORY = maven_local_directory
    DEP_PROXY_URL = proxy_url
    DEP_PROXY_USERNAME = proxy_username
    DEP_PROXY_PASSWORD = proxy_password
    COMMAND = args[0]
    ARGS = args[1:]
    COMMANDS.get(COMMAND, unknown_command)(*ARGS)
def main():
    if (len(sys.argv) <= 1):
        print_usage()
        sys.exit((- 1))
    global CONFIG_OPTS, DEP_JARS_OPTS, DEP_ARTIFACTS_OPTS, DEP_ARTIFACTS_REPOSITORIES_OPTS, DEP_MAVEN_LOCAL_REPOSITORY_DIRECTORY, DEP_PROXY_URL, DEP_PROXY_USERNAME, DEP_PROXY_PASSWORD
    (config_list, jars_list, artifacts_list, artifact_repositories_list, maven_local_directory, proxy_url, proxy_username, proxy_password, args) = parse_config_opts(sys.argv[1:])
    parse_config(config_list)
    DEP_JARS_OPTS = jars_list
    DEP_ARTIFACTS_OPTS = artifacts_list
    DEP_ARTIFACTS_REPOSITORIES_OPTS = artifact_repositories_list
    DEP_MAVEN_LOCAL_REPOSITORY_DIRECTORY = maven_local_directory
    DEP_PROXY_URL = proxy_url
    DEP_PROXY_USERNAME = proxy_username
    DEP_PROXY_PASSWORD = proxy_password
    COMMAND = args[0]
    ARGS = args[1:]
    COMMANDS.get(COMMAND, unknown_command)(*ARGS)