# vim: set filencoding=utf8 """ Kronos Command Line UI @author: Mike Crute (mcrute@ag.com) @organization: American Greetings Interactive @date: February 05, 2010 """ import sys from optparse import OptionParser from kronos.parser import parse_activity class CommandLineUI(object): def __init__(self, args): self.args = args self.parse_args() def parse_args(self): self.action = self.args[1] activity = ' '.join(self.args[2:]) self.activity = parse_activity(activity) def run(self): pass