0ptr/main.py

17 lines
389 B
Python
Raw Normal View History

2023-07-10 19:10:49 +00:00
#!/usr/bin/env python3
import argparse
from nullptr.commander import Commander
2023-07-10 17:25:01 +00:00
from nullptr.models.base import Base
def main(args):
2023-07-10 17:25:01 +00:00
c = Commander(args.store_file)
c.run()
# X1-AG74-41076A
# X1-KS52-51429E
if __name__ == '__main__':
parser = argparse.ArgumentParser()
2023-07-10 17:25:01 +00:00
parser.add_argument('-s', '--store-file', default='data/store.npt')
args = parser.parse_args()
main(args)