Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 26 lines (17 sloc) 522 Bytes
#!/usr/bin/env python3
import app_api
import argparse
import sys
def main():
logger = app_api.logging_setup("mission-framework")
parser = argparse.ArgumentParser()
parser.add_argument('--config', '-c', nargs=1)
args = parser.parse_args()
if args.config is not None:
global SERVICES
SERVICES = app_api.Services(args.config[0])
else:
SERVICES = app_api.Services()
logger.info("Starting mission logic")
if __name__ == "__main__":
main()
You can’t perform that action at this time.