|
|
@ -13,8 +13,9 @@ $ pip install -r requirements.txt |
|
|
|
|
|
|
|
|
|
|
|
Usage |
|
|
|
Usage |
|
|
|
----- |
|
|
|
----- |
|
|
|
1. Edit `self.server = 'http://paste.r4sas.i2p/'` in `pbincli/transports.py` to your server. |
|
|
|
Edit `self.server = 'http://paste.r4sas.i2p/'` in `pbincli/transports.py` to your server. |
|
|
|
2. Run inside `venv` command |
|
|
|
|
|
|
|
|
|
|
|
Run inside `venv` command: |
|
|
|
|
|
|
|
|
|
|
|
$ python pbincli.py send -c "Hello!" |
|
|
|
$ python pbincli.py send -c "Hello!" |
|
|
|
|
|
|
|
|
|
|
@ -25,6 +26,7 @@ To send file use `--file` or `-f` with filename. Example: |
|
|
|
$ python pbincli.py send -c "My document" -f info.pdf |
|
|
|
$ python pbincli.py send -c "My document" -f info.pdf |
|
|
|
|
|
|
|
|
|
|
|
To retrieve paste from server, use `get` command with paste info. |
|
|
|
To retrieve paste from server, use `get` command with paste info. |
|
|
|
|
|
|
|
|
|
|
|
It must be formated like `pasteID#passphrase`. Example: |
|
|
|
It must be formated like `pasteID#passphrase`. Example: |
|
|
|
|
|
|
|
|
|
|
|
$ python pbincli.py get 49eeb1326cfa9491#vfeortoVWaYeJlviDdhxQBtj5e0I2kArpynrtu/tnGs= |
|
|
|
$ python pbincli.py get 49eeb1326cfa9491#vfeortoVWaYeJlviDdhxQBtj5e0I2kArpynrtu/tnGs= |
|
|
|