Skip to content

Commit da86fb4

Browse files
nhamkthdnguyen-van-quang
authored andcommitted
Update help of ares-setup-device
- Change help for tv profile.
1 parent 879cc33 commit da86fb4

1 file changed

Lines changed: 44 additions & 3 deletions

File tree

files/help/ares-setup-device.help

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
},
1414
"description" : [
1515
{
16-
"default": [
16+
"default":[],
17+
"ose": [
1718
"This command manages the information of the devices.",
1819
"",
1920
"** Attributes of DEVICE_INFO **",
@@ -23,7 +24,24 @@
2324
" username [string] user name to connect ('developer')",
2425
" privatekey [string] ssh private key file name",
2526
" ssh private key should exist under $HOME/.ssh/",
26-
" passphrase [string] passphrase used for generating ssh keys",
27+
" password [string] password for ssh connection",
28+
" default [boolean] set default device with 'add' option",
29+
"",
30+
"This command can set a default device.",
31+
"If you don't specify a target device, the default device is used as the target device.",
32+
"",
33+
"LEVEL is priority of logs. (e.g., silly, verbose, info, warn, error)"
34+
],
35+
"tv": [
36+
"This command manages the information of the devices.",
37+
"",
38+
"** Attributes of DEVICE_INFO **",
39+
" description [string] description of target device",
40+
" host [string] ip address",
41+
" port [string] port number",
42+
" username [string] user name to connect ('prisoner')",
43+
" privatekey [string] ssh private key file name",
44+
" ssh private key should exist under $HOME/.ssh/",
2745
" password [string] password for ssh connection",
2846
" default [boolean] set default device with 'add' option",
2947
"",
@@ -36,7 +54,8 @@
3654
],
3755
"examples" : [
3856
{
39-
"default" : [
57+
"default":[],
58+
"ose" : [
4059
"",
4160
"# Add a DEVICE and set the username, host, port",
4261
"ares-setup-device -a DEVICE -i \"{'username':'root', 'host':'127.0.0.1','port':'22'}\"",
@@ -57,6 +76,28 @@
5776
"# Change the ssh password of the DEVICE as an empty value",
5877
"ares-setup-device -m DEVICE -i \"password=\"",
5978
""
79+
],
80+
"tv" : [
81+
"",
82+
"# Add a DEVICE and set the username, host, port",
83+
"ares-setup-device -a DEVICE -i \"{'username':'prisoner', 'host':'127.0.0.1','port':'9922'}\"",
84+
" Or",
85+
"ares-setup-device -a DEVICE -i \"username=prisoner\" -i \"host=127.0.0.1\" -i \"port=9922\"",
86+
"",
87+
"# Modify the information of the DEVICE",
88+
"ares-setup-device -m DEVICE -i \"{'username':'prisoner','host':'192.168.0.123'}\"",
89+
" Or",
90+
"ares-setup-device -m DEVICE -i \"username=prisoner\" -i \"host=192.168.0.123\"",
91+
"",
92+
"# Remove the DEVICE",
93+
"ares-setup-device -r DEVICE",
94+
"",
95+
"# Set default the DEVICE",
96+
"ares-setup-device -f DEVICE",
97+
"",
98+
"# Change the ssh password of the DEVICE as an empty value",
99+
"ares-setup-device -m DEVICE -i \"password=\"",
100+
""
60101
]
61102
}
62103
],

0 commit comments

Comments
 (0)