[cli] update sub-modules to use Process<Cmd("cmd")> method (#8224)

This commit updates CLI `SrpServer`, `CoapSecure`, `UdpExample`, and
`TcpExample` to use the template `Process<Cmd("cmd")>` model. This
helps make them similar to other CLI modules.
This commit is contained in:
Abtin Keshavarzian
2022-10-03 09:32:02 -07:00
committed by GitHub
parent 7e8b482e3c
commit 61d9e72c18
9 changed files with 152 additions and 247 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ expect "Error 6: Parse"
send "udp send -x something_invalid\n"
expect "Error 7: InvalidArgs"
send "udp\n"
expect "Error 7: InvalidArgs"
expect "Error 35: InvalidCommand"
send "udp linksecurity\n"
expect "Enabled"