Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 12 days ago
JSON representation
Simple CLI that upload images to Cloudflare Image, either from clipboard, or local file.
- Host: GitHub
- URL: https://github.com/george-miao/shot
- Owner: George-Miao
- Created: 2021-12-23T22:16:57.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T18:25:42.000Z (almost 2 years ago)
- Last Synced: 2024-10-09T11:41:25.451Z (30 days ago)
- Language: Rust
- Homepage:
- Size: 54.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
shotUSAGE:
shot [OPTIONS] [SUBCOMMAND]OPTIONS:
-d, --dry-run Preview the command without perform any actions
-h, --help Print help informationSUBCOMMANDS:
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`
```