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