summaryrefslogtreecommitdiffstats
path: root/cli/objects/repo.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-10-19 13:36:00 +0200
committerJose M. Guisado <jguisado@soleta.eu>2023-10-19 13:36:00 +0200
commit37c4065f06f7cdaa35a49c7a6168f50394b37565 (patch)
treede4d0654d54cb12ea40fe0d689720f50fc2d2a37 /cli/objects/repo.py
parent1c2e5c4c96f3c8b114508de7f713dda8ebfcb877 (diff)
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.
Diffstat (limited to 'cli/objects/repo.py')
0 files changed, 0 insertions, 0 deletions