cli (blog): add --comments-from to target an item comments node:

- add `--comments-from <item_id>` and `--comments-from-last` to automatically retrieve the
  comments node of a blog post.
- ⚠️`--draft-path` short option moved from `-F` to `-d` (so `-F` can be used for
  `--comments-from`).
This commit is contained in:
Goffi 2026-10-27 21:19:59 +01:00
commit 25f1aa9178

View file

@ -439,7 +439,7 @@ class LiberviaCli:
"-D", "--current", action="store_true", help=_("load current draft")
)
draft_group.add_argument(
"-F", "--draft-path", type=Path, help=_("path to a draft file to retrieve")
"-d", "--draft-path", type=Path, help=_("path to a draft file to retrieve")
)
def make_pubsub_group(self, flags, defaults):