A generic pastebin posting tool
Project description
Paster
======
*A generic pastebin posting tool*
Supported Paste services:
- **Dpaste** (http://dpaste.com/)
A django base simple and popular pastebin
- **Pastebin** (http://pastebin.com/)
The very famous pastebin. Complete version 3 api supported
And many more will be added soon
Usage
-----
usage: pstr [-h] {list,paste} ...
optional arguments:
-h, --help show this help message and exit
subcommands:
available subcommands
{list,paste} additional help
paste paste a snippet
list list various available properties and settings
###Subcommands
**paste**
usage: pstr paste [-h] [-s syntax] [-t title] [-n name/email] [-v service]
[-e extra] [-d] [-p] [-c] [-f]
content
positional arguments:
content the content
optional arguments:
-h, --help show this help message and exit
-s syntax, --syntax syntax
syntax of the paste
-t title, --title title
title of paste
-n name/email , --poster name/email
name or email of poster
-v service , --service service
specify the pastebin service to be used
-e extra , --extra extra
specify some extra arguements (urlencoded)
-d, --hold delay the deletion of post
-p, --private hold the paste (delay in deletion)
-c, --command post output of command supplied as content
-f, --file post output of file supplied as content
**list**
usage: pstr list [-h] [-v service] type
positional arguments:
type the property to be listed
currently available:
- syntax: list of syntax/languages/formats available
- services: list of services available
- configs: the existing configuration settings
optional arguments:
-h, --help show this help message and exit
-v service , --service service
specify the pastebin service to be used
Config
------
Files:
> `~/.pastercfg` or `/etc/paster.cfg`
The default configuration and available settings:
[user]
name =
email =
[preferences]
syntax =
extra =
title =
service = dpaste
hold = false
command = false
file = false
private = false
[pastebin]
api_dev_key =
api_paste_expire_date =
api_user_name =
api_user_password =
Examples
--------
Paste some content
> pstr paste "some content"
Paste to pastebin
> pstr paste -v pastebin "some content"
Paste file contents
> pstr paste -f path/to/file/filename.extension
Paste git diff
> pstr paste -c "git diff"
List available syntax/languages/formats
> pstr list syntax
List available pastebin services
> pstr list services
======
*A generic pastebin posting tool*
Supported Paste services:
- **Dpaste** (http://dpaste.com/)
A django base simple and popular pastebin
- **Pastebin** (http://pastebin.com/)
The very famous pastebin. Complete version 3 api supported
And many more will be added soon
Usage
-----
usage: pstr [-h] {list,paste} ...
optional arguments:
-h, --help show this help message and exit
subcommands:
available subcommands
{list,paste} additional help
paste paste a snippet
list list various available properties and settings
###Subcommands
**paste**
usage: pstr paste [-h] [-s syntax] [-t title] [-n name/email] [-v service]
[-e extra] [-d] [-p] [-c] [-f]
content
positional arguments:
content the content
optional arguments:
-h, --help show this help message and exit
-s syntax, --syntax syntax
syntax of the paste
-t title, --title title
title of paste
-n name/email , --poster name/email
name or email of poster
-v service , --service service
specify the pastebin service to be used
-e extra , --extra extra
specify some extra arguements (urlencoded)
-d, --hold delay the deletion of post
-p, --private hold the paste (delay in deletion)
-c, --command post output of command supplied as content
-f, --file post output of file supplied as content
**list**
usage: pstr list [-h] [-v service] type
positional arguments:
type the property to be listed
currently available:
- syntax: list of syntax/languages/formats available
- services: list of services available
- configs: the existing configuration settings
optional arguments:
-h, --help show this help message and exit
-v service , --service service
specify the pastebin service to be used
Config
------
Files:
> `~/.pastercfg` or `/etc/paster.cfg`
The default configuration and available settings:
[user]
name =
email =
[preferences]
syntax =
extra =
title =
service = dpaste
hold = false
command = false
file = false
private = false
[pastebin]
api_dev_key =
api_paste_expire_date =
api_user_name =
api_user_password =
Examples
--------
Paste some content
> pstr paste "some content"
Paste to pastebin
> pstr paste -v pastebin "some content"
Paste file contents
> pstr paste -f path/to/file/filename.extension
Paste git diff
> pstr paste -c "git diff"
List available syntax/languages/formats
> pstr list syntax
List available pastebin services
> pstr list services
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
paster-0.6.tar.gz
(20.1 kB
view details)
File details
Details for the file paster-0.6.tar.gz
.
File metadata
- Download URL: paster-0.6.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a57ee0fadaabfebf26a36144109fa3d507c7e40886daa1be088d88d85ff02da0 |
|
MD5 | bf6aa2f2123d6f2c5eb2aacfb7fb262b |
|
BLAKE2b-256 | 5a7b68b9287a8b0e17d7cccbc55e92b33374a106ffda65765f7113cb6b834554 |