ogcli/cli/objects
Alejandro Sirgo Rica 10a3897f92 cli: ensure the program returns 0 on success and 1 on error
propagate a returncode in each operation and make it the
returncode of the program.

Prevent sys.exit calls in post(), get() and delete() request
handlers to enable cleanup code and error handling. Keep a basic
error log inside the request functions if the connection can't
be established or if the response contains an error code.
2024-11-21 17:05:24 +01:00
..
__init__.py Rename files to remove 'og' prefix 2020-06-30 12:51:51 +02:00
center.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00
client.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00
disks.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00
folder.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00
images.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00
live.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00
modes.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00
poweroff.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00
reboot.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00
repo.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00
room.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00
scopes.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00
server.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00
session.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00
wol.py cli: ensure the program returns 0 on success and 1 on error 2024-11-21 17:05:24 +01:00