talk about notes and image upload
authorChristian Weiske <cweiske@cweiske.de>
Thu, 8 Sep 2016 19:46:23 +0000 (21:46 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Thu, 8 Sep 2016 19:46:23 +0000 (21:46 +0200)
README.rst

index 09dde4a..191cbbd 100644 (file)
@@ -46,3 +46,26 @@ Create a reply
     $ ./bin/shpub.php reply http://example.org/ "Hey, cool!"
     Reply created at server
     http://anoweco.bogo/comment/42.htm
+
+
+Create a note
+=============
+A normal note::
+
+    $ ./bin/shpub.php note "oh this is cool!"
+    Reply created at server
+    http://known.bogo/2016/oh-this-is-cool.htm
+
+Note with an image::
+
+    $ ./bin/shpub.php note -f image.jpg "this is so cute"
+    Reply created at server
+    http://known.bogo/2016/this-is-so-cute.htm
+
+You can use ``-f`` several times to upload multiple files.
+
+URL image upload::
+
+    $ ./bin/shpub.php note -f http://example.org/1.jpg "img url!"
+    Reply created at server
+    http://known.bogo/2016/img-url.htm