diff options
Diffstat (limited to 'templates/cli.html')
| -rw-r--r-- | templates/cli.html | 27 |
1 files changed, 15 insertions, 12 deletions
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 @@ <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> + <p><a href="https://bin.iamfabulous.de/imgup/" title="Downloads for binaries">bin.iamfabulous.de/imgup</a></p> + <p>Currently it is only for 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>You can compile imgup from source. You need a working Golang installation already 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> + <p>You are finished. Now you can start using imgup.</p> </blockquote> - <h2>Example Usage:</h2> + <h2>Usage:</h2> <blockquote> - <p><pre><code>$ imgup http://i.imgur.com/s9zxmYe.jpg + <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> + + + <blockquote> + <h2>Example Usage:</h2> + <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> + </blockquote> </div> </div> </div> |
