mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 14:14:22 +01:00
Add get_all_appointments cli command
This commit is contained in:
12
cli/help.py
12
cli/help.py
@@ -6,6 +6,7 @@ def show_usage():
|
||||
"\n\tregister \tRegisters your user public key with the tower."
|
||||
"\n\tadd_appointment \tRegisters a json formatted appointment with the tower."
|
||||
"\n\tget_appointment \tGets json formatted data about an appointment from the tower."
|
||||
"\n\tget_all_appointments \tGets information about all appointments stored in the tower."
|
||||
"\n\thelp \t\t\tShows a list of commands or help for a specific command."
|
||||
"\n\nGLOBAL OPTIONS:"
|
||||
"\n\t-s, --server \tAPI server where to send the requests. Defaults to 'localhost' (modifiable in conf file)."
|
||||
@@ -51,3 +52,14 @@ def help_get_appointment():
|
||||
"\n\nDESCRIPTION:"
|
||||
"\n\n\tGets json formatted data about an appointment from the tower.\n"
|
||||
)
|
||||
|
||||
|
||||
def help_get_all_appointments():
|
||||
return (
|
||||
"NAME:"
|
||||
"\tpython teos_cli get_all_appointments - Gets information about all appointments stored in the tower."
|
||||
"\n\nUSAGE:"
|
||||
"\tpython teos_cli get_all_appointments"
|
||||
"\n\nDESCRIPTION:"
|
||||
"\n\n\tGets information about all appointments stored in the tower.\n"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user