From aa20d46e89069800b77247dccda0a500865411e3 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Tue, 21 Apr 2015 13:40:13 +0200 Subject: Clean up html. --- templates/cli.html | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'templates/cli.html') diff --git a/templates/cli.html b/templates/cli.html index 0ce7535..31a3a9c 100644 --- a/templates/cli.html +++ b/templates/cli.html @@ -1,4 +1,4 @@ -{{template "header.html" "Upload images from file!"}} +{{template "header.html" "CLI documentation | Mandible"}} {{template "navbar.html"}} {{template "modal_uploaded.html"}} {{template "modal_error.html"}} @@ -10,42 +10,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.
+ +Currently it is only for Linux x86_64 available.
-Compiling from source:
-You can compile imgup from source. You need a working Golang installation set up. Read here more.
+You can compile imgup from source. You need a working Golang installation already set up. Read here more.
-
cd $GOPATH
git clone https://git.iamfabulous.de/cgit.cgi/mandible
cd mandible/cli/imgup
go buildYou have a working binary now.
+You are finished. Now you can start using imgup.
-+ + +$ imgup http://i.imgur.com/s9zxmYe.jpg ++
imgup [FILE] [URL]File have to be the path to a valid image file. Url must start with 'http://' or 'https://'.
+
+-- cgit v1.2.3Example Usage:
++$ 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!