Skip to content
/ pasteit Public

This is a python program that allows you to paste files to different pastebin like sites.

License

Notifications You must be signed in to change notification settings

EricIO/pasteit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#pasteit

pasteit is a program that allows you to paste files to pastebin like sites. Pull requests, bug reports and feature requests are highly welcome!

Installation

This release is only tested for python 3 with python 2 support coming. To install, clone the repo and do python setup.py install

Usage

pasteit defaults to slexy.org if no other supported site was provided. The command pasteit foo.txt will paste foo.txt to slexy.org and print out the url for the paste. Other paste sites can be used with the --site option, to see a list of supported websites use the command pasteit --list.

This release supports two other options to specify the author and syntax higlighting. pasteit --author foo --language haskell bar.hs will paste the file bar.hs with foo as the author and haskell for syntax highlighting.

Future Ideas

  • Specify range of page numbers to only paste those lines
  • Pass a dictonary of options to allow arbitrary paste sites. Something like pasteit --opts {foo : bar, baz : oof}
  • Ability to use a config file to specify different options for different sites.

About

This is a python program that allows you to paste files to different pastebin like sites.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages