ogcli/cli
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
..
objects cli: objects: use --desc and --folder 2023-10-19 13:36:00 +02:00
__init__.py format: use autopep8 2022-05-20 10:22:42 +02:00
cli.py cli: add room 2023-10-19 12:26:31 +02:00
utils.py cli: add room 2023-10-19 12:26:31 +02:00