{
    "display" : ["name", "synopsis", "options", "description", "examples"],
    "notab":["examples"],
    "name" : "ares-setup-device - Add or modify the information of the devices to use",
    "synopsis" : {
        "default" : [
          "ares-setup-device [OPTION...]",
          "ares-setup-device [OPTION...] -a, --add DEVICE_NAME -i, --info <DEVICE_INFO>",
          "ares-setup-device [OPTION...] -m, --modify DEVICE_NAME -i, --info <DEVICE_INFO>",
          "ares-setup-device [OPTION...] -r, --remove DEVICE_NAME",
          "ares-setup-device [OPTION...] -f, --default DEVICE_NAME"
        ]
    },
    "description" : [
        {
          "default": [
            "This command manages the information of the devices.",
            "",
              "** Attributes of DEVICE_INFO **",
              "  description [string]   description of target device",
              "  host        [string]   ip address",
              "  port        [string]   port number",
              "  username    [string]   user name to connect ('developer')",
              "  privatekey  [string]   ssh private key file name",
              "                         ssh private key should exist under $HOME/.ssh/",
              "  passphrase  [string]   passphrase used for generating ssh keys",
              "  password    [string]   password for ssh connection",
              "  default     [boolean]  set default device with 'add' option",
            "",
            "This command can set a default device.",
            "If you don't specify a target device, the default device is used as the target device.",
            "",
            "LEVEL is priority of logs. (e.g., silly, verbose, info, warn, error)"
          ]
        }
    ],
    "examples" : [
      {
        "default" : [
            "",
            "# Add a DEVICE and set the username, host, port",
            "ares-setup-device -a DEVICE -i \"{'username':'root', 'host':'127.0.0.1','port':'22'}\"",
            " Or",
            "ares-setup-device -a DEVICE -i \"username=root\" -i \"host=127.0.0.1\" -i \"port=22\"",
            "",
            "# Modify the information of the DEVICE",
            "ares-setup-device -m DEVICE -i \"{'username':'developer','host':'192.168.0.123'}\"",
            " Or",
            "ares-setup-device -m DEVICE -i \"username=developer\" -i \"host=192.168.0.123\"",
            "",
            "# Remove the DEVICE",
            "ares-setup-device -r DEVICE",
            "",
            "# Set default the DEVICE",
            "ares-setup-device -f DEVICE",
            "",
            "# Change the ssh password of the DEVICE as an empty value",
            "ares-setup-device -m DEVICE -i \"password=\"",
            ""
          ]
      }
    ],
    "options" : {
        "cmdOpt":"option",
        "default" : ["reset", "list", "listfull", "help", "version", "verbose", "level"],
        "reset" : "-R, --reset @TAB@ Initialize the DEVICE list",
        "list" : "-l, --list @TAB@ List the available DEVICEs",
        "listfull" : "-F, --listfull @TAB@ List the available DEVICEs in detail",
        "help" : "-h, --help @TAB@ Display this help",
        "version" : "-V, --version @TAB@ Display version info",
        "verbose" : "-v @TAB@ Display this verbose log",
        "level" : "--level <LEVEL> @TAB@ Set log LEVEL and display log as set LEVEL"
    }
}
