OOF2
All checks were successful
EIVE/-/pipeline/head This commit looks good

This commit is contained in:
2023-11-22 11:21:26 +01:00
parent ba24faefa9
commit 02d9d6adfc
7 changed files with 168 additions and 205 deletions

View File

@ -30,6 +30,7 @@ from tmtccmd.config.args import (
PreArgsParsingWrapper,
ProcedureParamsWrapper,
SetupParams,
perform_tree_printout,
)
from tmtccmd.core import BackendRequest
from tmtccmd.fsfw.tmtc_printer import FsfwTmTcPrinter
@ -133,6 +134,9 @@ def setup_params() -> Tuple[SetupWrapper, int]:
hk_level = int(post_arg_parsing_wrapper.args_raw.hk)
else:
hk_level = 0
if params.app_params.print_tree:
perform_tree_printout(params.app_params, hook_obj.get_command_definitions())
sys.exit(0)
params.apid = PUS_APID
if params.com_if is None:
raise ValueError("could not determine a COM interface.")