Skip to content

Commit

Permalink
prepare 2.3.0 release
Browse files Browse the repository at this point in the history
- Bump version
- Update readme and and pbcli help
  • Loading branch information
Mydayyy committed Mar 16, 2024
1 parent 4770bb8 commit aa59551
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = """
pbcli is a command line client which allows to upload and download
pastes from privatebin directly from the command line.
"""
version = "2.3.0-rc.1"
version = "2.3.0"
authors = ["Mydayyy"]
edition = "2021"
documentation = "https://github.com/Mydayyy/pbcli"
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ echo 'TestPaste' | pbcli --host https://privatebin.net/ --burn
---
#### CLI Help:
```
pbcli 2.2.0
pbcli 2.3.0
Mydayyy <dev@mydayyy.eu>
Expand All @@ -104,12 +104,13 @@ OPTIONS:
-h, --help Print help information
--host <HOST>
--json
--oidc-client-id <OIDC_CLIENT_ID>
--oidc-password <OIDC_PASSWORD>
--oidc-token-url <OIDC_TOKEN_URL>
--oidc-username <OIDC_USERNAME>
--overwrite
--oidc-client-id <OIDC_CLIENT_ID> client id to send to the token endpoint
--oidc-password <OIDC_PASSWORD> password to send to the token endpoint
--oidc-token-url <OIDC_TOKEN_URL> oidc token endpoint from which to obtain an access token
--oidc-username <OIDC_USERNAME> username to send to the token endpoint
--overwrite overwrite the file given with --download if it already exists
--password <PASSWORD>
--size-limit <SIZE_LIMIT> Prompt if the paste exceeds the given size. Fail in non-interactive environments
--upload <FILE>
-V, --version Print version information
```
Expand Down
1 change: 1 addition & 0 deletions src/opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pub struct Opts {
pub expire: String,

#[clap(long, parse(try_from_str = parse_size))]
#[clap(help("Prompt if the paste exceeds the given size. Fail in non-interactive environments."))]
pub size_limit: Option<u64>,

#[clap(long)]
Expand Down

0 comments on commit aa59551

Please sign in to comment.