mirror of
https://github.com/espressif/openthread.git
synced 2026-08-03 01:17:46 +00:00
[cli] add api version command (#5544)
This adds a CLI command to get the API version number.
This commit is contained in:
@@ -108,6 +108,11 @@ expect "Done"
|
||||
|
||||
send "version\n"
|
||||
expect "Done"
|
||||
send "version api\n"
|
||||
expect -re {\d+}
|
||||
expect "Done"
|
||||
send "version something_invalid\n"
|
||||
expect "Error 35: InvalidCommand"
|
||||
|
||||
send "joinerport 10001\n"
|
||||
expect "Done"
|
||||
|
||||
Reference in New Issue
Block a user