summaryrefslogtreecommitdiff
path: root/templates/cli.html
diff options
context:
space:
mode:
authorHorus32015-04-21 05:57:21 +0200
committerHorus32015-04-21 05:57:21 +0200
commit7e4ccc40be46366fd8c0550aca1bfb6e73c3b5c6 (patch)
tree659e0206d73607dbe2cdb75ab871e078d06d37ad /templates/cli.html
parentc92ed3c93c379368f615809aa599426890bf2057 (diff)
downloadmandible-7e4ccc40be46366fd8c0550aca1bfb6e73c3b5c6.tar.gz
Add cli program.
Diffstat (limited to 'templates/cli.html')
-rw-r--r--templates/cli.html39
1 files changed, 38 insertions, 1 deletions
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 @@
<div class="row">
<div class="col-md-12 well">
- <h1>TODO!</h1>
+ <h1>Imgup - CLI</h1>
+ <p>Upload your images comfortable from the command line!</p>
+ <blockquote>
+ <h2>Usage:</h2>
+ <p><code>imgup [FILE] [URL]</code></h2></p>
+ <p>File have to be the path to a valid image file. Url must start with 'http://' or 'https://'</p>
+ </blockquote>
+
+ <h2>Installation:</h2>
+
+ <blockquote>
+ <h2>Download:</h2>
+ <p>Download the precompiled binary from here: </p>
+ <p><a href="http://bin.iamfabulous.de/imgup/">bin.iamfabulous.de/imgup</a></p>
+ <p>Currently there is only Linux x86_64 available.</p>
+ </blockquote>
+
+ <blockquote>
+ <h2>Compiling from source:</h2>
+ <p>You can compile imgup from source. You need a working Golang installation set up. Read <a href="http://golang.org/" title="Golang">here</a> more.</p>
+ <p><code>cd $GOPATH <br>
+ git clone https://git.iamfabulous.de/cgit.cgi/mandible <br>
+ cd mandible/cli/imgup <br>
+ go build
+ </code></p>
+ <p>You have a working binary now.</p>
+ </blockquote>
+
+ <h2>Example Usage:</h2>
+
+ <blockquote>
+ <p><pre><code>$ 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!</code></pre></p>
</div>
</div>
</div>