working on gui
This commit is contained in:
parent
77f77489c2
commit
4237ed0d29
2
tmtccmd
2
tmtccmd
@ -1 +1 @@
|
|||||||
Subproject commit b0b1dfef055fb1c6eb757cae59336f151fbb632c
|
Subproject commit de8656e3a657782e457630ea10de0fce08856f35
|
11
tmtcgui.py
11
tmtcgui.py
@ -1,11 +1,18 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""TMTC commander for EIVE"""
|
"""TMTC commander for EIVE"""
|
||||||
from tmtcc import tmtcc_post_args, tmtcc_pre_args
|
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():
|
def main():
|
||||||
hook_obj = tmtcc_pre_args()
|
hook_obj = tmtcc_pre_args()
|
||||||
tmtcc_post_args(hook_obj=hook_obj, use_gui=True, args=None)
|
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__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user