Commit Graph

4 Commits

Author SHA1 Message Date
9390edeb79 reorder argparse, clarify option descriptions 2019-06-07 11:11:53 +00:00
d11beb10af Make compression optional
ref: https://github.com/PrivateBin/PrivateBin/issues/38
Compression is optional only in v2 paste format.
Currently available types: 'zlib' and 'none'.
To set compression use `-c "none"` or `--compression "none".

When receiving paste, compression detected from 'adata' field
2019-06-07 09:16:58 +00:00
487def2b45 add notext option, fix paste without text handling
Now text is taken if no `--notext (-q)` argument is passed.

If that flag used, paste will be created with empty text,
but file for send must be specified

If `notext` arg is not used, text will be taken in next order:
* from `--text (-t)` argument
* from stdin (forcibly)

Here's no ability create paste without any text.
2019-06-01 14:26:17 +00:00
l-n-s
c3119b4a4d Start Pip packaging 2018-06-01 06:07:18 -04:00