=====
 PIT 
=====

About
-----

Author: Wijnand 'tehmaze' Modderman
Contact: irc.xs4all.nl/#dunkbots
Website: http://tehmaze.com
License: Public Domain

Description
-----------

http://www.paste-it.net paste functionality.

Commands
--------

pit [-espx --expiry --public --subject --syntax]

    Use in a pipeline, pastes the input to http://www.paste-it.net

    pit_parser.add_option("-p", "--public", dest="public", action="store_true", default=False, help="make paste public")
    pit_parser.add_option("-s", "--subject", dest="subject", action="store", default="", help="set subject")
    pit_parser.add_option("-e", "--expiry", dest="expiry", action="store", type="int", default=cfg.get('expiry'), help="expiry in seconds")
    pit_parser.add_option("-x", "--syntax", dest="syntax", action="store", default="", help="syntax highlighting")

pit -e --expiry <[value]>

    Sets the paste expiry in seconds.

pit -p --public 

    Make a public paste.

pit -s --subject

    Sets the paste subject.

pit -x --syntax <[language]>

    Sets the paste syntax.

::

    <user> !todo | pit -p
    <gozerbot> http://paste-it.net/foo666

