Requirements
- Ruby (MRI)
- RubyGems
Install
gem install picgarage
Usage
Tool
pgupload /path/to/image.jpg
The image URL will be returned & copied to your clipboard
Library
require 'picgarage' begin picgarage = PicGarage::PicGarage.new image_url = picgarage.upload_image('/path/to/image.jpg') puts image_url rescue => error puts error end
License
PicGarage is released under the MIT license.