diff doc/libervia-cli/blog.rst @ 3573:813595f88612

merge changes from main branch
author Goffi <goffi@goffi.org>
date Thu, 17 Jun 2021 13:05:58 +0200
parents 267e4987b58b
children 76fb0739cc9c
line wrap: on
line diff
--- a/doc/libervia-cli/blog.rst	Thu Jun 03 15:21:43 2021 +0200
+++ b/doc/libervia-cli/blog.rst	Thu Jun 17 13:05:58 2021 +0200
@@ -243,6 +243,20 @@
 the first ``markdown`` is the name of the syntax (could be an other syntax like ``xhtml``),
 while the second if the file extension.
 
+rename
+======
+
+Move a item to a new ID. This works the same as :ref:`li-pubsub_rename`, the only
+difference is that node defaults to microblog default namespace.
+
+example
+-------
+
+After a typo, a use want to rename the blog item with ID ``my_great_tittle_123a`` to
+``my_great_title_123a``::
+
+  $ li blog rename -i my_great_tittle_123a my_great_title_123a
+
 preview
 =======
 
@@ -250,12 +264,12 @@
 detected. Configuration is the same as for `edit preview <edit_preview_>`_. This can be
 used if you have already started an edition with ``li blog edit`` but forgot to use the ``-P, --preview`` arguments.
 
-example:
---------
+example
+-------
 
-Preview the draft at ``~/local/sat/blog/some_name/blog_something.md``::
+Preview the draft at ``~/.local/share/libervia/blog/some_name/blog_something.md``::
 
-  $ li blog preview ~/local/sat/blog/some_name/blog_something.md
+  $ li blog preview ~/.local/share/libervia/blog/some_name/blog_something.md
 
 .. _libervia-cli_blog_import: