eive-tmtc/tmtcgui.py

21 lines
510 B
Python
Executable File

#!/usr/bin/env python3
"""TMTC commander for EIVE"""
from tmtcc import tmtcc_post_args, tmtcc_pre_args
from tmtccmd.config.args import (
create_default_args_parser,
add_gui_tmtccmd_args,
parse_gui_input_arguments,
)
def main():
hook_obj = tmtcc_pre_args()
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)
if __name__ == "__main__":
main()