summaryrefslogtreecommitdiffstats
path: root/cli/objects/folder.py
Commit message (Collapse)AuthorAgeFilesLines
* cli: ensure the program returns 0 on success and 1 on errorAlejandro Sirgo Rica8 days1-3/+12
| | | | | | | | | | 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.
* ogcli: add update command for folder, room and centerAlejandro Sirgo Rica2024-02-131-2/+21
| | | | | Expand of the update command to be able to modify the values of previous folder, room and center configurations.
* folder: add commands to create and delete foldersAlejandro Sirgo Rica2024-02-051-0/+54
add command to add folders add folder --name test --room-id 123 to delete delete folder --id 456 you can fetch the id with 'list scopes'