diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-09-12 10:30:56 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-09-12 10:30:56 +0200 |
commit | 7478b9ce159af5535be0d4f67dc362d65acf363b (patch) | |
tree | d779c3d785f5c826aa5dbe1dc33ab8d49c47af5a /examples/deploy-ubuntu.sh | |
parent | 6a96a130b5637625917b469a2376ad022df26867 (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 'examples/deploy-ubuntu.sh')
0 files changed, 0 insertions, 0 deletions