Use "cli" to the top commands

This commit is contained in:
Ivan Kravets committed 2022-05-31 17:30:41 +03:00
1 parent 52f8e98eed
commit 12fb02db6e
4 files changed
+4 -10

No files matched your search

+1 -4
View File
@@ -92,7 +92,7 @@ from platformio.test.runners.factory import TestRunnerFactory
help="Increase verbosity level, maximum is 3 levels (-vvv), see docs for details",
)
@click.pass_context
def test_cmd( # pylint: disable=too-many-arguments,too-many-locals,redefined-builtin
def cli( # pylint: disable=too-many-arguments,too-many-locals,redefined-builtin
ctx,
environment,
ignore,
@@ -175,9 +175,6 @@ def test_cmd( # pylint: disable=too-many-arguments,too-many-locals,redefined-bu
raise exception.ReturnErrorCode(1)
cli = test_cmd
def print_suite_header(test_suite):
click.echo(
"Processing %s in %s environment"