

def _group_list(json_):
    '\n    :param json_: output json if True\n    :type json_: bool\n    :rtype: int\n    :returns: process return code\n    '
    client = marathon.create_client()
    groups = client.get_groups()
    emitting.publish_table(emitter, groups, tables.group_table, json_)
    return 0

dataset/ETHPy150Open dcos/dcos-cli/cli/dcoscli/marathon/main.py _group_list/original