Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/george-miao/shot

Simple CLI that upload images to Cloudflare Image, either from clipboard, or local file.
https://github.com/george-miao/shot

Last synced: about 2 months ago
JSON representation

Simple CLI that upload images to Cloudflare Image, either from clipboard, or local file.

Awesome Lists containing this project

README

        

# Shot

Simple CLI that uploads images to [Cloudflare Image](https://www.cloudflare.com/products/cloudflare-images/), either from the system clipboard, or a local file.

## Install

Install from [crates.io](https://crates.io).

```bash
cargo install shot
```

## Usage

```plain
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`
```