#!/usr/bin/python """Generic mon echoer usage: gmon [options] COMMAND [ARGS...] Options: -c, --chars CHARS specify limit in characters --format FMT specify format: plain is a plain text, xgp is specific for xfce4-genmon-plugin -p, --plain same as --format=plain -x, --xgp same as --format=xgp -h, --help show this screen --version show version """ import docopt import gmon if __name__ == '__main__': args = docopt.docopt(__doc__, version="gmon 0.1", options_first=True) app = gmon.App(args) app.run()