Coverage for harbor_cli/commands/__init__.py: 100%
7 statements
« prev ^ index » next coverage.py v6.5.0, created at 2023-02-09 12:09 +0100
« prev ^ index » next coverage.py v6.5.0, created at 2023-02-09 12:09 +0100
1from __future__ import annotations
3from .api import api_commands
4from .cli import cli_commands
6groups = {
7 "API": api_commands,
8 "CLI": cli_commands,
9}
11# Patch help text for the different groups
12for group_name, command_groups in groups.items():
13 for command_group in command_groups:
14 # command_group.info.help = f"[{group_name}] {command_group.info.help or ''}"
15 pass
17ALL_GROUPS = [command for group in groups.values() for command in group]