Refactors hooks registration
This commit is contained in:
parent
49d7e4ced6
commit
f39a0eac56
40 changed files with 202 additions and 168 deletions
|
@ -66,7 +66,7 @@ def print_station_status(msg, station):
|
|||
|
||||
# MODULE INTERFACE ####################################################
|
||||
|
||||
@hook("cmd_hook", "velib",
|
||||
@hook.command("velib",
|
||||
help="gives available bikes and slots at the given station",
|
||||
help_usage={
|
||||
"STATION_ID": "gives available bikes and slots at the station STATION_ID"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue