#!/usr/bin/python

import argparse
from calculator.components.wlms import WLMS

if __name__ == '__main__':

    parser = argparse.ArgumentParser(usage='start-wlms --cfg_path <path to config file>')
    parser.add_argument('--cfg_path',
                        help='path to a config file',
                        dest='cfg',
                        required=True)
    args = parser.parse_args()

    wlms = WLMS(cfg_path=args.cfg)
    wlms.run()