Crates.io | shot |
lib.rs | shot |
version | 0.1.2 |
source | src |
created_at | 2021-12-23 23:14:26.992063 |
updated_at | 2023-01-07 08:12:41.059388 |
description | Simple CLI that upload images to Cloudflare Image, either from clipboard, or local file. |
homepage | |
repository | https://github.com/George-Miao/shot |
max_upload_size | |
id | 502424 |
size | 65,479 |
Simple CLI that uploads images to Cloudflare Image, either from the system clipboard, or a local file.
Install from crates.io.
cargo install shot
shot
USAGE:
shot [OPTIONS] [SUBCOMMAND]
OPTIONS:
-d, --dry-run Preview the command without perform any actions
-h, --help Print help information
SUBCOMMANDS:
auth Auth of Cloudflare API. Currently only supports account_id + token pair
help Print this message or the help of the given subcommand(s)
paste Upload image in clipboard to Cloudflare Image
upload Encode local images to PNG and upload to Cloudflare Images. For all supported
image format, see `https://docs.rs/image/latest/image/codecs/index.html#supported-
formats`