get-my-pastebin/README.md

55 lines
1.0 KiB
Markdown
Raw Normal View History

2019-01-13 15:54:13 +01:00
<p align="center">
<img src="https://min.gitcdn.link/repo/tanrax/get-my-pastebin/master/logo.png">
</p>
2019-01-13 15:49:11 +01:00
Terminal application to find and copy your own Paste for Pastebin.
- Search in Paste public and private state.
- Copies to the clipboard raw Paste automatically.
- Prints raw Paste by console.
<p align="center">
2019-01-13 16:24:59 +01:00
<img src="https://min.gitcdn.link/cdn/tanrax/get-my-pastebin/master/demo.svg">
2019-01-13 15:49:11 +01:00
</p>
## Use
``` bash
2019-01-13 15:54:13 +01:00
getmypastebin --api-key [Get Developer API Key] --username [username account Pastebin] --password [password account Pastebin] [search]
2019-01-13 15:49:11 +01:00
```
2019-01-13 15:54:13 +01:00
[Get Developer API Key](https://pastebin.com/api#1)
2019-01-13 15:49:11 +01:00
Example
``` bash
getmypastebin --api-key 123qwe456rty --username example --password 123 wordpress
```
## Install
``` bash
pip3 install --user get-my-pastebin
```
## Update
``` bash
pip3 install --user --upgrade get-my-pastebin
```
2019-01-13 16:19:36 +01:00
## Alias
Optimize with alias in your `.bashrc` or `.zshrc`.
``` bash
alias gpaste='getmypastebin --api-key 123qwe456rty --username example --password 123'
```
Use.
``` bash
gpaste python
```