2021-06-11 12:53:35 +02:00
|
|
|
#!/usr/bin/env python3
|
2022-05-18 23:41:05 +02:00
|
|
|
"""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,
|
|
|
|
)
|
2021-06-11 12:53:35 +02:00
|
|
|
|
|
|
|
|
|
|
|
def main():
|
2022-05-18 23:41:05 +02:00
|
|
|
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)
|
2021-06-11 12:53:35 +02:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|