

def _show(app_id, version):
    'Show details of a Marathon application.\n\n    :param app_id: The id for the application\n    :type app_id: str\n    :param version: The version, either absolute (date-time) or relative\n    :type version: str\n    :returns: process return code\n    :rtype: int\n    '
    client = marathon.create_client()
    if (version is not None):
        version = _calculate_version(client, app_id, version)
    app = client.get_app(app_id, version=version)
    emitter.publish(app)
    return 0

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