Talk about server information in README
authorChristian Weiske <cweiske@cweiske.de>
Tue, 19 Jun 2018 19:04:48 +0000 (21:04 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Tue, 19 Jun 2018 19:04:48 +0000 (21:04 +0200)
Resolves: https://github.com/cweiske/shpub/issues/13

README.rst

index 5a615fa9a2073027e0dd983c363c550c24600ffa..813586a235340ae961c1e54540da9487d78b7657 100644 (file)
@@ -249,6 +249,22 @@ anything to the server::
     http://example.org/fake-response
 
 
+Server information
+==================
+To see which server, user and endpoint URLs ``shpub`` uses, pass the
+server name to the ``server`` command::
+
+    $ shpub server commentpara.de
+    commentpara.de
+     URL:   http://commentpara.de
+     User:  https://commentpara.de/user/3.htm
+     Endpoints:
+      micropub:      https://commentpara.de/micropub.php
+      media:
+      token:         https://commentpara.de/token.php
+      authorization: https://commentpara.de/auth.php
+
+
 ===========
 Development
 ===========