A command line tool for pastebin.com
npm install pastabinA command line tool for instantly creating public pastes on pastebin.com.
Install globally using npm.
``shell`
npm install -g pastabin
To use pastabin, you must first obtain a developer API key from pastebin. To do so, create a pastebin account if you do not already have one, and log in. You can then find your unique API key here.
The first time you use the pasta command, you will be prompted to enter your API key. This will be saved so that you will not need to enter it each time you want to create a paste.
The syntax for creating a paste is as follows:
`shell`
$ pasta
The command will return a pastebin.com link to your file.
If the title is not provided, paste will use the file name as the title.
For example, if I wanted to create a paste for the main JavaScript file for a node module that I am currently working on, I would use
`shell``
$ pasta index.js "index.js for paste"
http://pastebin.com/xz6JFZak
NOTE: Pastebin may limit the number of pastes you create in a given time period due to account restrictions.