Skip to content

Commit ad9ceae

Browse files
committed
release 2.8.0
1 parent d315c17 commit ad9ceae

File tree

3 files changed

+33
-34
lines changed

3 files changed

+33
-34
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = """
44
pbcli is a command line client which allows to upload and download
55
pastes from privatebin directly from the command line.
66
"""
7-
version = "2.7.1"
7+
version = "2.8.0"
88
authors = ["Mydayyy"]
99
edition = "2021"
1010
documentation = "https://github.com/Mydayyy/pbcli"

README.md

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -99,43 +99,42 @@ echo 'TestPaste' | pbcli --host https://privatebin.net/ --burn
9999
#### CLI Help:
100100

101101
```
102-
pbcli 2.5.0
103-
Mydayyy <dev@mydayyy.eu>
104102
pbcli is a command line client which allows to upload and download
105103
pastes from privatebin directly from the command line.
106104
107105
Project home page: https://github.com/Mydayyy/pbcli
108106
109-
USAGE:
110-
pbcli [OPTIONS] [URL]
111-
112-
ARGS:
113-
<URL>
114-
115-
OPTIONS:
116-
--burn enable burn on read for new paste
117-
--comment make new comment on existing paste
118-
--comment-as <nickname> use this nick for comment
119-
--comment-to <parentid> reply to this parent comment
120-
--debug print debug output to stderr
121-
--discussion enable discussion for new paste
122-
--download <FILE>
123-
--expire <EXPIRE> [default: 1week]
124-
--format <FORMAT> [default: plaintext] [possible values: plaintext, syntax, markdown]
125-
-h, --help Print help information
126-
--host <HOST>
127-
--json richer output: for delete_url, comments, etc
128-
--no-default-config do not look for config in default locations
129-
--oidc-client-id <OIDC_CLIENT_ID> client id to send to the token endpoint
130-
--oidc-password <OIDC_PASSWORD> password to send to the token endpoint
131-
--oidc-token-url <OIDC_TOKEN_URL> oidc token endpoint from which to obtain an access token
132-
--oidc-username <OIDC_USERNAME> username to send to the token endpoint
133-
--overwrite overwrite the file given with --download if it already exists
134-
--password <PASSWORD>
135-
--scrape-expiries attempt scraping supported expiries of given host and exit
136-
--size-limit <SIZE_LIMIT> Prompt if the paste exceeds the given size. Fail in non-interactive environments.
137-
--upload <FILE>
138-
-V, --version Print version information
107+
Usage: pbcli [OPTIONS] [URL]
108+
109+
Arguments:
110+
[URL]
111+
112+
Options:
113+
--host <HOST>
114+
-f, --format <FORMAT> [default: plaintext] [possible values: plaintext, syntax, markdown]
115+
-e, --expire <EXPIRE> [default: 1week]
116+
--size-limit <SIZE_LIMIT> Prompt if the paste exceeds the given size. Fail in non-interactive environments.
117+
--json richer output: for delete_url, comments, etc
118+
-b, --burn enable burn on read for new paste
119+
-B, --no-burn disable burn if set
120+
-d, --discussion enable discussion for new paste
121+
-D, --no-discussion disable burn if set
122+
--comment make new comment on existing paste
123+
--comment-as <nickname> use this nick for comment
124+
--comment-to <parentid> reply to this parent comment
125+
-o, --download <FILE>
126+
-w, --overwrite overwrite the file given with --download if it already exists
127+
-u, --upload <FILE>
128+
-p, --password <PASSWORD>
129+
--oidc-token-url <OIDC_TOKEN_URL> oidc token endpoint from which to obtain an access token
130+
--oidc-client-id <OIDC_CLIENT_ID> client id to send to the token endpoint
131+
--oidc-username <OIDC_USERNAME> username to send to the token endpoint
132+
--oidc-password <OIDC_PASSWORD> password to send to the token endpoint
133+
--debug print debug output to stderr
134+
--no-default-config do not look for config in default locations
135+
--scrape-expiries attempt scraping supported expiries of given host and exit
136+
-h, --help Print help
137+
-V, --version Print version
139138
```
140139

141140
### Configuration File

0 commit comments

Comments
 (0)