"""
Top-level definition of the ``oep2`` commandline tool.
"""

import click

from . import explode_repos_yaml
from .report import cli


def _cli():
    cli(auto_envvar_prefix="OEP2")


@click.group()
def cli():
    """
    Tools for implementing and enforcing OEP-2.
    """
    pass

cli.add_command(explode_repos_yaml.explode)
cli.add_command(explode_repos_yaml.implode)
cli.add_command(cli.cli, 'report')

@@ -116,16 +116,20 @@
  .report
+.cli
  import 
@@ -131,16 +131,30 @@
 port cli
+ as report_cli
 %0A%0A%0Adef _
@@ -401,20 +401,23 @@
 command(
-cli.
+report_
 cli, 're

Make oep-2 checker run again