123456789101112131415161718192021222324252627 |
- #!/usr/bin/python
-
- """Generic mon echoer
-
- usage: sardine [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 sardine
-
-
- if __name__ == '__main__':
-
- args = docopt.docopt(__doc__,
- version="sardine 0.1",
- options_first=True)
- app = sardine.App(args)
- app.run()
|