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:
parent
45112fb22e
commit
25f1aa9178
1 changed files with 111 additions and 10 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue