class Freeline(object): def __init__(self): self.dispatcher = Dispatcher() def call(self, args=None): if 'init' in args and args.init: print('init freeline project...') init() exit() self.dispatcher.call_command(args)
def __init__(self): self.dispatcher = Dispatcher()