karim@kss:~/github.com/karimra/mgmt-server$ go run main.go cli INFO[0000] starting cli mode... [ ]--{ }--[ ]# connect clab-proxy-srl1 [ clab-proxy-srl1 ]--{ running }--[ ]# connect : connect to a target delete : delete configuration objects disconnect : disconnect from a target enter : enter a different mode: running, candidate, show, state environment : Control the look-and-feel of the CLI exit : exit working context help : Help about any command info : get current context info from the target monitor : Interactively subscribe to state changes quit : quit the cli mode targets : list known targets tree : print the commands tree [ clab-proxy-srl1 ]--{ running }--[ ]# interface --name mgmt0 subinterface --index 0 ipv4 [ clab-proxy-srl1 ]--{ running }--[ interface[name=mgmt0]/subinterface[index=0]/ipv4 ]# info interface[name=mgmt0]/subinterface[index=0]/ipv4: interface[name=mgmt0]/subinterface[index=0]/ipv4/dhcp-client: [ clab-proxy-srl1 ]--{ running }--[ interface[name=mgmt0]/subinterface[index=0]/ipv4 ]# enter state [ clab-proxy-srl1 ]--{ state }--[ interface[name=mgmt0]/subinterface[index=0]/ipv4 ]# inf