diff options
Diffstat (limited to 'templates/cli.html')
| -rw-r--r-- | templates/cli.html | 39 |
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> |
