eive-tmtc/tmtcgui.py

21 lines
510 B
Python
Raw Normal View History

2022-05-17 11:13:32 +02:00
#!/usr/bin/env python3
2022-05-17 11:40:52 +02:00
"""TMTC commander for EIVE"""
2022-05-17 11:13:32 +02:00
from tmtcc import tmtcc_post_args, tmtcc_pre_args
2022-05-22 21:35:51 +02:00
from tmtccmd.config.args import (
2022-05-23 18:33:35 +02:00
create_default_args_parser,
add_gui_tmtccmd_args,
parse_gui_input_arguments,
)
2020-12-17 17:50:00 +01:00
def main():
2022-05-17 11:13:32 +02:00
hook_obj = tmtcc_pre_args()
2022-05-22 21:35:51 +02:00
arg_parser = create_default_args_parser()
add_gui_tmtccmd_args(arg_parser)
args = parse_gui_input_arguments(arg_parser)
tmtcc_post_args(hook_obj=hook_obj, use_gui=True, args=args)
2020-12-17 17:50:00 +01:00
if __name__ == "__main__":
main()