mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Sun Dec 15 03:42:26 EET 2024
Signed-off-by: Ari Archer <ari@ari.lt>
This commit is contained in:
parent
6e9e1b3321
commit
bdd01ea27e
1 changed files with 12 additions and 3 deletions
|
@ -889,14 +889,23 @@ def keywords(post: dict[str, typing.Any]) -> int:
|
|||
def help(_: dict[str, typing.Any]) -> int:
|
||||
"""print help"""
|
||||
|
||||
return llog(
|
||||
"\n\n"
|
||||
+ "\n".join(
|
||||
print(
|
||||
"\n".join(
|
||||
f"{cmd} -- {fn.__doc__ or 'no help provided'}"
|
||||
for cmd, fn in cmds.commands.items()
|
||||
)
|
||||
)
|
||||
|
||||
print(
|
||||
"""
|
||||
Custom markdown extensions (besides the well-known ones):
|
||||
|
||||
* Titlelink: <#:Your Header Title> - links to a header
|
||||
* Media embed: <@:e3b0c4429...> - embeds media"""
|
||||
)
|
||||
|
||||
return OK
|
||||
|
||||
|
||||
@cmds.new
|
||||
def sort(config: dict[str, typing.Any]) -> int:
|
||||
|
|
Loading…
Add table
Reference in a new issue