Use "cli" to the top commands

This commit is contained in:
Ivan Kravets
2022-05-31 17:30:41 +03:00
parent 52f8e98eed
commit 12fb02db6e
4 changed files with 4 additions and 10 deletions
+1 -4
View File
@@ -61,7 +61,7 @@ from platformio.project.options import ProjectOptions
@click.option("--interface", type=click.Choice(["gdb"]))
@click.argument("__unprocessed", nargs=-1, type=click.UNPROCESSED)
@click.pass_context
def debug_cmd(
def cli(
ctx,
project_dir,
project_conf,
@@ -93,9 +93,6 @@ def debug_cmd(
)
cli = debug_cmd
def _debug_in_project_dir(
ctx,
project_dir,