@rasch/imgur-cli

0.1.0 • Public • Published

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

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

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

Readme

Keywords

Package Sidebar

Install

npm i @rasch/imgur-cli

Weekly Downloads

1

Version

0.1.0

License

0BSD

Unpacked Size

4.03 kB

Total Files

4

Last publish

Collaborators

  • rasch