Refactors hooks registration
This commit is contained in:
parent
49d7e4ced6
commit
f39a0eac56
40 changed files with 202 additions and 168 deletions
|
|
@ -154,7 +154,7 @@ TRACKING_HANDLERS = {
|
|||
|
||||
# HOOKS ##############################################################
|
||||
|
||||
@hook("cmd_hook", "track",
|
||||
@hook.command("track",
|
||||
help="Track postage delivery",
|
||||
help_usage={
|
||||
"TRACKING_ID [...]": "Track the specified postage IDs on various tracking services."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue