Skip to content

Commit 906c14f

Browse files
committed
0.3.2
Signed-off-by: R4SAS <[email protected]>
1 parent 0e61d05 commit 906c14f

File tree

5 files changed

+53
-34
lines changed

5 files changed

+53
-34
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.github/** export-ignore
12
.gitattributes export-ignore
23
.gitignore export-ignore
34
README.md export-ignore

README.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@ proxy=http://127.0.0.1:3128
4444
All possible options for configuration file
4545
-----
4646

47-
| Option | Default | Possible value |
48-
|--------|---------|---------|
49-
server | https://paste.i2pd.xyz/ | Domain ending with slash |
50-
mirrors | None | Domains separated with comma, like `http://privatebin.ygg/,http://privatebin.i2p/` |
51-
proxy | None | Proxy address starting with scheme `http://` or `socks5://` |
52-
short | False | True / False |
53-
short_api | None | `tinyurl`, `clckru`, `isgd`, `vgd`, `cuttly`, `yourls`, `custom` |
54-
short_url | None | Domain name of shortener service for `yourls`, or sortener URL (with required parameters) for `custom` |
55-
short_user | None | Used only in `yourls` |
56-
short_pass | None | Used only in `yourls` |
57-
short_token | None | Used only in `yourls` |
58-
no_check_certificate | False | True / False |
59-
no_insecure_warning | False | True / False |
47+
| Option | Default | Possible value |
48+
|----------------------|-------------------------|----------------|
49+
| server | https://paste.i2pd.xyz/ | Domain ending with slash |
50+
| mirrors | None | Domains separated with comma, like `http://privatebin.ygg/,http://privatebin.i2p/` |
51+
| proxy | None | Proxy address starting with scheme `http://` or `socks5://` |
52+
| short | False | True / False |
53+
| short_api | None | `tinyurl`, `clckru`, `isgd`, `vgd`, `cuttly`, `yourls`, `custom` |
54+
| short_url | None | Domain name of shortener service for `yourls`, or sortener URL (with required parameters) for `custom` |
55+
| short_user | None | Used only in `yourls` |
56+
| short_pass | None | Used only in `yourls` |
57+
| short_token | None | Used only in `yourls` |
58+
| no_check_certificate | False | True / False |
59+
| no_insecure_warning | False | True / False |
6060

6161
Usage
6262
=====
@@ -91,7 +91,7 @@ pbincli send -f info.pdf -t "I'm sending my document."
9191
pbincli send -q -f info.pdf
9292
```
9393

94-
__*Note*__: It is possible to set-up paste parameters such as burning after reading, expiritaion time, formatting, enabling discussions, and changing compression algorithm. Please refer to `pbincli send -h` output for more information.
94+
*Note*: It is possible to set-up paste parameters such as burning after reading, expiritaion time, formatting, enabling discussions, and changing compression algorithm. Please refer to `pbincli send -h` output for more information.
9595

9696
Receiving
9797
-----
@@ -141,5 +141,4 @@ Call it by running `pastei2p` in terminal.
141141
License
142142
=====
143143

144-
This project is licensed under the MIT license, which can be found in the file
145-
[LICENSE](https://github.com/r4sas/PBinCLI/blob/master/LICENSE) in the root of the project source code.
144+
This project is licensed under the MIT license, which can be found in the file [LICENSE](https://github.com/r4sas/PBinCLI/blob/master/LICENSE) in the root of the project source code.

README.rst

Lines changed: 35 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -65,21 +65,41 @@ All possible options for configuration file
6565
* - Option
6666
- Default
6767
- Possible value
68-
* -
68+
* - server
69+
- https://paste.i2pd.xyz/
70+
- Domain ending with slash
71+
* - mirrors
72+
- None
73+
- Domains separated with comma, like ``http://privatebin.ygg/,http://privatebin.i2p/``
74+
* - proxy
75+
- None
76+
- Proxy address starting with scheme ``http://`` or ``socks5://``
77+
* - short
78+
- False
79+
- True / False
80+
* - short_api
81+
- None
82+
- ``tinyurl``\ , ``clckru``\ , ``isgd``\ , ``vgd``\ , ``cuttly``\ , ``yourls``\ , ``custom``
83+
* - short_url
84+
- None
85+
- Domain name of shortener service for ``yourls``\ , or sortener URL (with required parameters) for ``custom``
86+
* - short_user
87+
- None
88+
- Used only in ``yourls``
89+
* - short_pass
90+
- None
91+
- Used only in ``yourls``
92+
* - short_token
93+
- None
94+
- Used only in ``yourls``
95+
* - no_check_certificate
96+
- False
97+
- True / False
98+
* - no_insecure_warning
99+
- False
100+
- True / False
69101

70102

71-
server | https://paste.i2pd.xyz/ | Domain ending with slash |
72-
mirrors | None | Domains separated with comma, like ``http://privatebin.ygg/,http://privatebin.i2p/`` |
73-
proxy | None | Proxy address starting with scheme ``http://`` or ``socks5://`` |
74-
short | False | True / False |
75-
short_api | None | ``tinyurl``\ , ``clckru``\ , ``isgd``\ , ``vgd``\ , ``cuttly``\ , ``yourls``\ , ``custom`` |
76-
short_url | None | Domain name of shortener service for ``yourls``\ , or sortener URL (with required parameters) for ``custom`` |
77-
short_user | None | Used only in ``yourls`` |
78-
short_pass | None | Used only in ``yourls`` |
79-
short_token | None | Used only in ``yourls`` |
80-
no_check_certificate | False | True / False |
81-
no_insecure_warning | False | True / False |
82-
83103
Usage
84104
=====
85105

@@ -123,7 +143,7 @@ Sending
123143
124144
pbincli send -q -f info.pdf
125145
126-
**\ *Note*\ **\ : It is possible to set-up paste parameters such as burning after reading, expiritaion time, formatting, enabling discussions, and changing compression algorithm. Please refer to ``pbincli send -h`` output for more information.
146+
*Note*\ : It is possible to set-up paste parameters such as burning after reading, expiritaion time, formatting, enabling discussions, and changing compression algorithm. Please refer to ``pbincli send -h`` output for more information.
127147
128148
Receiving
129149
---------
@@ -177,5 +197,4 @@ Call it by running ``pastei2p`` in terminal.
177197
License
178198
=======
179199
180-
This project is licensed under the MIT license, which can be found in the file
181-
`LICENSE <https://github.com/r4sas/PBinCLI/blob/master/LICENSE>`_ in the root of the project source code.
200+
This project is licensed under the MIT license, which can be found in the file `LICENSE <https://github.com/r4sas/PBinCLI/blob/master/LICENSE>`_ in the root of the project source code.

pbincli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
# -*- coding: utf-8 -*-
33

44
__author__ = "R4SAS <[email protected]>"
5-
__version__ = "0.3.2b1"
5+
__version__ = "0.3.2"
66
__copyright__ = "Copyright (c) R4SAS"
77
__license__ = "MIT"

pbincli/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def read_config(filename):
3131
return settings
3232

3333
def main():
34-
parser = argparse.ArgumentParser()
34+
parser = argparse.ArgumentParser(description='Full-featured PrivateBin command-line client')
3535
subparsers = parser.add_subparsers(title="actions", help="List of commands")
3636

3737
# a send command

0 commit comments

Comments
 (0)