Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Command line interface to pastebin.com
Ruby
Failed to load latest commit information.
bin fixed get_raw
lib fixed get_raw
spec removed httpclient dependency
.document Initial commit to pastebin.
.gitignore Initial commit to pastebin.
Gemfile now using new api
Gemfile.lock now using new api
LICENSE.txt
README.rdoc ...
Rakefile
VERSION Version bump to 2.0.2
pastebin.gemspec Regenerate gemspec for version 2.0.2

README.rdoc

pastebin

pastebin is a CLI to pastebin.com Usage: pastebin [options] Examples: pastebin -f foo.rb -t ruby -e '10 Minutes' cat foo.pl | pastebin -f - -t perl

Options:

-f, --file <file>                Use a file for input, use "-" for STDIN
-n, --name <name>                Assign a name/title to your paste
-s, --subdomain <subdomain>      Paste to a specific subdomain
-r, --raw <link>                 Return raw text from a paste link
-e, --expire <time>              These can be abbriviated, as long as they are unambigous. Defaults to '1 Month'
                                 Never, 10 Minutes, 1 Hour, 1 Day, 1 Month
-l, --language <syntax>          Syntax types can be abbriviated, as long as they are unambigous. There are many more supported languages than what is listed here. Defaults to 'text'
                                   perl, python, c, ruby, bash, cpp, groovy, latex, java, php, sql, xml
-p, --private                    Make paste private.
-h, --help                       Show this message

Copyright

Copyright © 2010 dougsko. See LICENSE for details.

Something went wrong with that request. Please try again.