# Path: shpkpr/cli/entrypoint.py
# @click.command(cls=ShpkprCLI, context_settings=CONTEXT_SETTINGS)
# def cli():
#     """A tool to manage applications running on Marathon."""
#     logger.configure()


import json
import responses
import yaml
from click.testing import CliRunner
from shpkpr.cli.entrypoint import cli
# stdlib imports

# third-party imports

# local imports


def test_no_args():
    runner = CliRunner()
    result = runner.invoke(cli, ['apps', 'show'])

    assert result.exit_code == 2
    assert 'Usage:' in result.output


def test_help():
    runner = CliRunner()

# Path: shpkpr/cli/entrypoint.py
# @click.command(cls=ShpkprCLI, context_settings=CONTEXT_SETTINGS)
# def cli():
#     """A tool to manage applications running on Marathon."""
#     logger.configure()


# Path: tests/commands/test_cmd_apps_show.py
import json
import responses
import yaml
from click.testing import CliRunner
from shpkpr.cli.entrypoint import cli

# stdlib imports

# third-party imports

# local imports


def test_no_args():
    runner = CliRunner()
    result = runner.invoke(cli, ['apps', 'show'])

    assert result.exit_code == 2
    assert 'Usage:' in result.output


def test_help():
    runner = CliRunner()

    result = runner.invoke(cli, ['apps', 'show', '--help'])