1 **************************************
2 shpub - micropub client for your shell
3 **************************************
4 Command line micropub client written in PHP.
15 $ ./bin/shpub.php connect http://mywebsite http://mywebsite/user
17 If you pass a third parameter, then it will be the name of the connection.
18 You can select a specific server/connection with ``-s`` on all commands.
21 List configured servers/connections
22 ===================================
25 $ ./bin/shpub.php server
31 Also try ``-v`` which lists server and user URLs.
38 $ ./bin/shpub.php like http://example.org/
39 Like created at server
40 http://anoweco.bogo/comment/23.htm
46 $ ./bin/shpub.php reply http://example.org/ "Hey, cool!"
47 Reply created at server
48 http://anoweco.bogo/comment/42.htm
55 $ ./bin/shpub.php note "oh this is cool!"
56 Reply created at server
57 http://known.bogo/2016/oh-this-is-cool.htm
61 $ ./bin/shpub.php note -f image.jpg "this is so cute"
62 Reply created at server
63 http://known.bogo/2016/this-is-so-cute.htm
65 You can use ``-f`` several times to upload multiple files.
69 $ ./bin/shpub.php note -f http://example.org/1.jpg "img url!"
70 Reply created at server
71 http://known.bogo/2016/img-url.htm