|
13 | 13 | }, |
14 | 14 | "description" : [ |
15 | 15 | { |
16 | | - "default": [ |
| 16 | + "default":[], |
| 17 | + "ose": [ |
17 | 18 | "This command manages the information of the devices.", |
18 | 19 | "", |
19 | 20 | "** Attributes of DEVICE_INFO **", |
|
23 | 24 | " username [string] user name to connect ('developer')", |
24 | 25 | " privatekey [string] ssh private key file name", |
25 | 26 | " 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/", |
27 | 45 | " password [string] password for ssh connection", |
28 | 46 | " default [boolean] set default device with 'add' option", |
29 | 47 | "", |
|
36 | 54 | ], |
37 | 55 | "examples" : [ |
38 | 56 | { |
39 | | - "default" : [ |
| 57 | + "default":[], |
| 58 | + "ose" : [ |
40 | 59 | "", |
41 | 60 | "# Add a DEVICE and set the username, host, port", |
42 | 61 | "ares-setup-device -a DEVICE -i \"{'username':'root', 'host':'127.0.0.1','port':'22'}\"", |
|
57 | 76 | "# Change the ssh password of the DEVICE as an empty value", |
58 | 77 | "ares-setup-device -m DEVICE -i \"password=\"", |
59 | 78 | "" |
| 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 | + "" |
60 | 101 | ] |
61 | 102 | } |
62 | 103 | ], |
|
0 commit comments