1from plain.cli.runtime import common_command
2
3from .main import main
4
5__all__ = []
6
7# `plain test` is the runner's own command, options and all, so `--help`
8# lists what it takes.
9#
10# It is contributed through the `plain.cli` entry point group, which runs
11# before `plain.runtime.setup()` — so the runner still owns the setup decision
12# (app mode vs library mode) and calls setup() itself.
13cli = common_command(main)