{
    "display" : ["name", "synopsis", "options", "extraoption", "description", "examples"],
    "notab":["examples"],
    "notitle" : ["extraoption"],
    "name" : "ares-device - Display the device information",
    "synopsis" : {
        "default" : [
            "ares-device",
            "ares-device [OPTION...]"
        ]
    },
    "description" : {
        "default": [
            "This command displays the device information or monitor resource usage.",
            "",
            "ID is an ID of the app or service whose resource usage will be displayed.",
            "",
            "CSV_FILE is a file name or path to save the resource usage data.",
            "The file format can be only \".csv\"."
        ],
        "ose" : [
            "",
            "And This command supports screen capture.",
            "",
            "CAPTURE_FILE is file name or file path of capture file.",
            "The file format can be \".png\", \".jpg\" and \".bmp\". \".png\" is default.",
            "",
            "LEVEL is priority of logs. (e.g., silly, verbose, info, warn, error)"
        ],
        "apollo" : [
            "",
            "And This command supports screen capture.",
            "",
            "CAPTURE_FILE is file name or file path of capture file.",
            "The file format can be \".png\", \".jpg\" and \".bmp\". \".png\" is default.",
            "",
            "LEVEL is priority of logs. (e.g., silly, verbose, info, warn, error)"
        ]
    },
    "options" : {
        "cmdOpt":"option",
        "default" : ["system", "resource", "list", "id-filter", "interval", "save"],
        "ose" : ["capture", "display", "device", "device-list", "help", "version", "verbose", "level"],
        "apollo" : ["capture", "display", "device", "device-list", "help", "version", "verbose", "level"],
        "tv" : ["device", "device-list", "help", "version", "verbose"],
        "system" : "-i, --system-info @TAB@ Display the system information",
        "session" : "-se, --session-info @TAB@ Display the session information",
        "resource" : "-r, --resource-monitor @TAB@ Monitor resource usage",
        "list" : [
            "    -l, --list @TAB@ Monitor resource usage of running apps and services",
            "@TAB@ Use it with --resource-monitor"
        ],
        "id-filter" : [
            "    -id, --id-filter <ID> @TAB@ Show resource usage of an app or service",
            "@TAB@ Use it with --resource-monitor"
        ],
        "interval" : [
            "    -t, --time-interval @TAB@ Set the monitoring interval (seconds)",
            "@TAB@ Use it with --resource-monitor"
        ],
        "save" : [
            "    -s, --save <CSV_FILE> @TAB@ Save resource usage data to CSV_FILE",
            "@TAB@ Use it with --resource-monitor"
        ],
        "capture" : "-c, --capture-screen <CAPTURE_FILE> @TAB@ Capture screen and save the file to the host machine",
        "display" : [
            "-dp,--display <DISPLAY_ID> @TAB@ Specify DISPLAY_ID",
            "@TAB@ Use it with capture screen option"
        ],
        "device" : [
            "-d, --device <DEVICE> @TAB@ Specify DEVICE to use",
            "@TAB@ If not specified, set to default device"
        ],
        "device-list" : "-D, --device-list @TAB@ List the available DEVICEs",
        "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"
    },
    "examples" : {
        "default" : [
            "# Display system information",
            "ares-device -i -d DEVICE",
            "",
            "# Display resource usage",
            "ares-device -r -d DEVICE",
            "",
            "# Display resource usage periodically and save them to a CSV file",
            "ares-device -r -s resouce.csv -t 1 -d DEVICE",
            "",
            "# Display resource usage of running apps and services",
            "ares-device -r -l -t 3 -d DEVICE",
            "",
            "# Display resource usage of specified running app",
            "ares-device -r -id com.examples.app -t 5 -d DEVICE",
            ""
        ],
        "ose" : [
            "# Capture the screen of display 1 as screen.png",
            "ares-device -c screen.png -dp 1 -d DEVICE",
            ""
        ],
        "apollo" : [
            "# Capture the screen of display as screen.png",
            "ares-device -c screen.png -d DEVICE",
            ""
        ]
    }
}
