diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2023-10-11 17:29:49 +0200 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2023-10-11 17:29:49 +0200 |
commit | 4e89fe44d0c69406b3f6ec1ca885c93bd6793448 (patch) | |
tree | 09dd78a8f8407494cac8e9159aeffca6d28eafed /cli/objects/server.py | |
parent | 68a9d6fe8fb69a5c089b11f98dca9b3deda22e10 (diff) |
cli: add repo.py object
A user can list repos using "ogcli list repos":
$ ogcli list repos
{
"repositories": [
{
"id": 1,
"ip": "10.141.10.1",
"name": "Repositorio (Default)"
},
{
"id": 3,
"ip": "127.0.0.1",
"name": "dummy"
},
{
"id": 4,
"ip": "192.168.21.21",
"name": "helloworld"
}
]
}
The repository of a client or group of clients in a room is configured
using "ogcli set repo --id <id> [--client-ip <ip address>, --room-id
<room id>]:
$ ogcli set repo --id 4 --room-id 1
Diffstat (limited to 'cli/objects/server.py')
0 files changed, 0 insertions, 0 deletions