mirror of
https://github.com/aljazceru/python-teos.git
synced 2026-02-09 16:44:31 +01:00
Add get_all_appointments cli command
This commit is contained in:
@@ -104,8 +104,18 @@ if `-f, --file` **is** specified, then the command expects a path to a json file
|
||||
|
||||
python teos_cli.py get_appointment <appointment_locator>
|
||||
|
||||
### get_all_appointments
|
||||
|
||||
This command is used to get information about all the appointments stored in a Eye of Satoshi tower.
|
||||
|
||||
**Responses**
|
||||
|
||||
This command returns all appointments stored in the watchtower. More precisely, it returns all the "response_trackers" and "watchtower_appointments" in a dictionary.
|
||||
|
||||
#### Usage
|
||||
|
||||
python teos_cli.py get_all_appointments
|
||||
|
||||
|
||||
### help
|
||||
|
||||
Shows the list of commands or help about how to run a specific command.
|
||||
@@ -161,4 +171,4 @@ python teos_cli.py -s https://teosmainnet.pisa.watch add_appointment -f dummy_ap
|
||||
|
||||
You can also change the config file to avoid specifying the server every time:
|
||||
|
||||
`TEOS_SERVER = "https://teosmainnet.pisa.watch"`
|
||||
`TEOS_SERVER = "https://teosmainnet.pisa.watch"`
|
||||
|
||||
Reference in New Issue
Block a user