@rasch/imgur-cli
v0.1.0
Published
a CLI to upload images to imgur
Downloads
2
Readme
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