

def _version_list(app_id, max_count):
    '\n    :param app_id: the id of the application\n    :type app_id: str\n    :param max_count: the maximum number of version to fetch and return\n    :type max_count: str\n    :returns: process return code\n    :rtype: int\n    '
    if (max_count is not None):
        max_count = util.parse_int(max_count)
    client = marathon.create_client()
    versions = client.get_app_versions(client, max_count)
    emitter.publish(versions)
    return 0

dataset/ETHPy150Open dcos/dcos-cli/cli/dcoscli/marathon/main.py _version_list/VarMisuse@48/162 `app_id`->`client`