Mercurial > libervia-backend
diff doc/libervia-cli/blog.rst @ 3563:267e4987b58b
doc: fix remaining SàT references/typos + add `libervia-cli` missing commands
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 11 Jun 2021 09:21:41 +0200 |
parents | 0985c47ffd96 |
children | 76fb0739cc9c |
line wrap: on
line diff
--- a/doc/libervia-cli/blog.rst Fri Jun 11 09:19:43 2021 +0200 +++ b/doc/libervia-cli/blog.rst Fri Jun 11 09:21:41 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: