0.1.0 • Published 3 years ago
@rasch/imgur-cli v0.1.0
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-clinpm install --global @rasch/imgur-cliyarn global add @rasch/imgur-cliExamples
$ imgur example.png
http://i.imgur.com/xxxxxxx.png
deletehash: xxxxxxxxxxxxxxx
$ imgur del xxxxxxxxxxxxxxx
image has been deleted
$ imgur http://example.com/img.gif0.1.0
3 years ago