From 7e4ccc40be46366fd8c0550aca1bfb6e73c3b5c6 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Tue, 21 Apr 2015 05:57:21 +0200 Subject: Add cli program. --- templates/cli.html | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) (limited to 'templates/cli.html') diff --git a/templates/cli.html b/templates/cli.html index 9d50adb..0ce7535 100644 --- a/templates/cli.html +++ b/templates/cli.html @@ -7,8 +7,45 @@
Upload your images comfortable from the command line!
+++ +Usage:
++
imgup [FILE] [URL]File have to be the path to a valid image file. Url must start with 'http://' or 'https://'
+
++ +Download:
+Download the precompiled binary from here:
+ +Currently there is only Linux x86_64 available.
+
++ +Compiling from source:
+You can compile imgup from source. You need a working Golang installation set up. Read here more.
++
cd $GOPATH
+ git clone https://git.iamfabulous.de/cgit.cgi/mandible
+ cd mandible/cli/imgup
+ go build +You have a working binary now.
+
+$ imgup http://i.imgur.com/s9zxmYe.jpg +Your image (http://i.imgur.com/s9zxmYe.jpg) was uploaded! + +Follow this link: + http://i.iamfabulous.de:8080/i/h/M/hMKg2qS + +Have a nice day!