jp (blog/edit): added --no-publish argument.

This commit is contained in:
Goffi 2020-02-18 18:17:18 +01:00
commit 3d8ef1d625

View file

@ -76,11 +76,11 @@ the *metadata*. You can also specify editor and arguments in ``sat.conf``, see
If you don't change anything or publish an empty blog post, the edition will be cancelled.
In the metadata (see `below <edit_metadata_>`_ for details), you can use
``"publish": false`` to forbid the publication. In this case, when you'll save
your modification and quit your editor, the blog post will not be published but
saved locally in a draft. To continue your work later, just start your edition with the
``-D, --current`` option like this::
In the metadata (see `below <edit_metadata_>`_ for details), you can use ``"publish":
false`` to forbid the publication (or set it with ``--no-publish argument``). In this
case, when you'll save your modification and quit your editor, the blog post will not be
published but saved locally in a draft. To continue your work later, just start your
edition with the ``-D, --current`` option like this::
$ jp blog edit -D