import argparse from nullptr.commander import Commander def main(args): c = Commander(args.store_dir) c.run() # X1-AG74-41076A # X1-KS52-51429E if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('-s', '--store-dir', default='data') args = parser.parse_args() main(args)