- Clone the repo with
git clone https://github.com/henrik-dmg/Imgurr.git
- Call the
install.sh
script (e.g.sh Imgurr/install.sh
). This will installimgurr
into/usr/local/bin
$ mint install henrik-dmg/Imgurr
First, get a client ID from the Imgur developer portal. Then call imgurr set-client "{yourClientID}"
To upload images, simply call imgurr upload [<images> ...]
. The output will be each Imgur URL on a new line.
To delete images, call imgurr delete imgurURL
. Please note that you can only delete images through imgurr delete
that you have also upload through it for now (it stores the delete hashes in UserDefaults
)
You can take a look at each uploaded image by calling imgurr info
which will give you URLs, upload dates, etc.
- Write tests
- Support deletion by plain delete hashes