def printUsage(self): self.printAppName() print output.green("\nUsage: ") + output.teal(sys.argv[0]) + " [" + output.white("args") + "]\n" keys = self.args.keys() keys.sort() for i in keys: print " " + output.white(i) + " "*(self.key_width-len(i)) + self.args[i] sys.exit()
def svninfo(message): sys.stdout.write(output.teal(" SVN: ") + message + "\n")