forked from r4sas/PBinCLI
update readme
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
7117b2bcd7
commit
d8f3c44371
@ -99,15 +99,16 @@ To retrieve a paste from a server, you need to use `get` command with the paste
|
||||
|
||||
Paste info must be formated as `pasteID#Passphrase` or just use full URL to a paste. Example:
|
||||
```bash
|
||||
pbincli get xxx#yyy ### receive paste xxx from https://paste.i2pd.xyz/ by default
|
||||
pbincli get https://example.com/?xxx#yyy ### receive paste xxx from https://example.com/
|
||||
pbincli get "xxx#yyy" ### receive paste xxx from https://paste.i2pd.xyz/ by default
|
||||
pbincli get "https://example.com/?xxx#yyy" ### receive paste xxx from https://example.com/
|
||||
```
|
||||
|
||||
## Deletion
|
||||
|
||||
To delete a paste from a server, use `delete` command with required `-p` and `-t` options:
|
||||
To delete a paste from a server, use `delete` command with paste info:
|
||||
```bash
|
||||
pbincli delete -p xxx -t deletetoken
|
||||
pbincli delete "pasteid=xxx&deletetoken=yyy" ### delete paste xxx from https://paste.i2pd.xyz/ by default
|
||||
pbincli delete "https://example.com/?pasteid=xxx&deletetoken=yyy" ### delete paste xxx from https://example.com/
|
||||
```
|
||||
|
||||
If you need to delete a paste on different server than the configured one, use `-s` option together with the instance URL.
|
||||
|
@ -172,17 +172,18 @@ Paste info must be formated as ``pasteID#Passphrase`` or just use full URL to a
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pbincli get xxx#yyy ### receive paste xxx from https://paste.i2pd.xyz/ by default
|
||||
pbincli get https://example.com/?xxx#yyy ### receive paste xxx from https://example.com/
|
||||
pbincli get "xxx#yyy" ### receive paste xxx from https://paste.i2pd.xyz/ by default
|
||||
pbincli get "https://example.com/?xxx#yyy" ### receive paste xxx from https://example.com/
|
||||
|
||||
Deletion
|
||||
--------
|
||||
|
||||
To delete a paste from a server, use ``delete`` command with required ``-p`` and ``-t`` options:
|
||||
To delete a paste from a server, use ``delete`` command with paste info:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pbincli delete -p xxx -t deletetoken
|
||||
pbincli delete "pasteid=xxx&deletetoken=yyy" ### delete paste xxx from https://paste.i2pd.xyz/ by default
|
||||
pbincli delete "https://example.com/?pasteid=xxx&deletetoken=yyy" ### delete paste xxx from https://example.com/
|
||||
|
||||
If you need to delete a paste on different server than the configured one, use ``-s`` option together with the instance URL.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user