1 unstable release
0.1.0 | Aug 9, 2022 |
---|
#61 in #share
14KB
77 lines
plop
plop is a command-line tool to upload and share files via AWS S3 presigned URIs.
Install plop
With crates.io:
cargo install plop-cli
From source:
cargo install --path /path/to/plop/repo
Or, download and run the binary from the latest release.
Use plop
Upload and share files via S3 presigned URIs
USAGE:
plop [FLAGS] [OPTIONS] <file> <bucket>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
-v, --verbose Verbose mode
OPTIONS:
-e, --expire <expire> Lifetime, in seconds, of presigned URI [default: 1800]
-p, --prefix <prefix> Prefix for uploaded objects [default: plop/]
-r, --region <region> AWS Region to use [env: AWS_REGION=]
ARGS:
<file> Local file to upload
<bucket> Name of the bucket
Dependencies
~42MB
~686K SLoC