summaryrefslogtreecommitdiffstats
path: root/cli/config.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-09-12 10:30:56 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-09-12 10:30:56 +0200
commit7478b9ce159af5535be0d4f67dc362d65acf363b (patch)
treed779c3d785f5c826aa5dbe1dc33ab8d49c47af5a /cli/config.py
parent6a96a130b5637625917b469a2376ad022df26867 (diff)
repo: overload delete and add repo to modify the addresses
Overload the add repo and delete repo commands to have different functionality based on the flags. Add a repo: ogcli add repo --name test2 --address 192.168.9.140 Add addresses to repo with id 27: ogcli add repo --address 192.168.9.141 192.168.9.142 --id 27 Delete address from repo with id 27: ogcli delete repo --address 192.168.9.141 --id 27 Delete repo: ogcli delete repo --id 27
Diffstat (limited to 'cli/config.py')
0 files changed, 0 insertions, 0 deletions