krtrl / krctl

Utility to interact with krtrl on the terminal
0 stars 0 forks source link

Server management #1

Open kreatoo opened 1 month ago

kreatoo commented 1 month ago

Eg.

# krctl server ls
NAME     URL 
plato       http://plato:5000

# krctl server create --name tulip --url http://tulip:5000 --auth basic --username test --password testpass
Server created, testing...
Server successfully connected.

# krctl server rm plato
Do you want to remove 'plato'? [Y/n] n
Exiting.

# krctl system info --server plato
--- info bout plato
kreatoo commented 1 month ago

we could also add --server=all which would do that request on all servers and report it.