0.1.0 • Published 1 year ago

@rasch/imgur-cli v0.1.0

Weekly downloads
-
License
0BSD
Repository
github
Last release
1 year ago

imgur-cli

Uploads an image to imgur, then displays the url and deletehash.

Usage

Upload an image from a URL or a file path.

imgur <url|path>

Delete an image from imgur using the deletehash that is shown when uploading the image.

imgur del <deletehash>

Install

pnpm add --global @rasch/imgur-cli
npm install --global @rasch/imgur-cli
yarn global add @rasch/imgur-cli

Examples

$ imgur example.png
http://i.imgur.com/xxxxxxx.png
deletehash: xxxxxxxxxxxxxxx
$ imgur del xxxxxxxxxxxxxxx
image has been deleted
$ imgur http://example.com/img.gif
0.1.0

1 year ago