fsfw-example-hosted/tmtc/tmtccli.py
Robin Mueller 044d56e96a
Some checks failed
fsfw/fsfw example hosted/pipeline/head There was a failure building this commit
update tmtc python program
2022-05-18 23:41:05 +02:00

22 lines
534 B
Python

#!/usr/bin/env python3
"""TMTC commander for FSFW Example"""
from common_tmtc.tmtcc import (
tmtcc_post_args,
tmtcc_pre_args,
create_default_args_parser,
add_default_tmtccmd_args,
parse_default_input_arguments,
)
def main():
hook_obj = tmtcc_pre_args()
arg_parser = create_default_args_parser()
add_default_tmtccmd_args(arg_parser)
args = parse_default_input_arguments(arg_parser, hook_obj)
tmtcc_post_args(hook_obj=hook_obj, use_gui=False, args=args)
if __name__ == "__main__":
main()