shot

Crates.ioshot
lib.rsshot
version0.1.2
sourcesrc
created_at2021-12-23 23:14:26.992063
updated_at2023-01-07 08:12:41.059388
descriptionSimple CLI that upload images to Cloudflare Image, either from clipboard, or local file.
homepage
repositoryhttps://github.com/George-Miao/shot
max_upload_size
id502424
size65,479
Pop (George-Miao)

documentation

README

Shot

Simple CLI that uploads images to Cloudflare Image, either from the system clipboard, or a local file.

Install

Install from crates.io.

cargo install shot

Usage

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`
Commit count: 10

cargo fmt