ogcli/cli/objects
Jose M. Guisado 37c4065f06 cli: objects: use --desc and --folder
Try to reduce the usage of different parameter names due to the
OpenGnsys database using different column names for similar purposes.

Any database field regarding a description of some sort will use the
parameter --desc, even if the DB uses another column name (for example,
comment column in center table).

Use --folder parameter when requiring a folder id. The database uses
"grupo" as table name but present this to the user as folder, so use
--folder instead of --group.

Also, add 'location' field in the payload of "add room" command, it was
missing the addition of 'location' field in the JSON payload.
2023-10-19 13:36:00 +02:00
..
__init__.py Rename files to remove 'og' prefix 2020-06-30 12:51:51 +02:00
center.py cli: objects: use --desc and --folder 2023-10-19 13:36:00 +02:00
client.py objects: add missing prog parameter in subcommands 2023-10-05 11:21:19 +02:00
disks.py disks: remove --format parameter in setup disk 2023-10-09 12:45:07 +02:00
images.py images: change --repo help message 2023-10-12 09:48:15 +02:00
modes.py list modes: use print_json 2022-05-20 10:28:40 +02:00
poweroff.py objects: add missing prog parameter in subcommands 2023-10-05 11:21:19 +02:00
reboot.py objects: add missing prog parameter in subcommands 2023-10-05 11:21:19 +02:00
repo.py repo: add add_repo function 2023-10-11 17:50:47 +02:00
room.py cli: objects: use --desc and --folder 2023-10-19 13:36:00 +02:00
scopes.py format: use autopep8 2022-05-20 10:22:42 +02:00
server.py objects: add missing prog parameter in subcommands 2023-10-05 11:21:19 +02:00
wol.py objects: add missing prog parameter in subcommands 2023-10-05 11:21:19 +02:00