#!/usr/bin/python2

#import yappi
#yappi.set_clock_type('wall')
#yappi.start()
import gitticket as gt

if   gt.command == 'init':    gt.init()
elif gt.command == 'project': gt.proj()
elif gt.command == 'new':     gt.new()
elif gt.command == 'list':    gt.show_list()
elif gt.command == 'start':   gt.start()
elif gt.command == 'finish':  gt.finish()
elif gt.command == 'show':    gt.show()
elif gt.command == 'let':     gt.let()
elif gt.command in {'closed', 'invalid', 'open', 'in-progress'}: gt.modify(gt.command)
else:
	print "git-ticket"
#yappi.get_func_stats().print_all()
