{
    "display" : ["name", "synopsis", "options", "extraoption", "description", "examples", "extraexample"],
    "notab":["examples", "extraexample"],
    "notitle" : ["extraoption", "extraexample"],
    "name" : "ares-launch - Launch or close apps",
    "synopsis" : {
        "default" : [
            "ares-launch [OPTION...] <APP_ID>"
        ]
    },
    "description" : {
        "default": [
            "This command launches or closes apps on the DEVICE.",
            "",
            "APP_ID is an app id described in appinfo.json.",
            "",
            "APP_DIR is the app's working directory.",
            "If 'hosted' option is used with the directory path",
            "an app with id 'com.sdk.ares.hostedapp' is launched on the DEVICE",
            "and it opens the files in the directory.",
            "To close this app, use com.sdk.ares.hostedapp as APP_ID.",
            "",
            "LEVEL is priority of logs. (e.g., silly, verbose, info, warn, error)"
        ]
    },
    "options" : {
        "cmdOpt":"option",
        "default" : ["device", "device-list", "close", "running", "display", "params", "hosted", "help", "version", "verbose", "level"],
        "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",
        "close" : "-c, --close @TAB@ Close a running app",
        "running" : "-r, --running @TAB@ List the running apps",
        "params" : "-p, --params <PARAMS> @TAB@ Launch/Close an app with the specified parameters",
        "display" : "-dp,--display <DISPLAY_ID> @TAB@ Launch/Close an app on the specified display",
        "hosted" : "-H, --hosted <APP_DIR> @TAB@ Runs only an app without installation",
        "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" : [
            "",
            "# Launch an app on the DEVICE",
            "ares-launch com.examples.app -d DEVICE",
            "",
            "# Close an app on the DEVICE",
            "ares-launch -c com.examples.app -d DEVICE",
            "",
            "# Launch an app with parameters",
            "ares-launch com.examples.app -d DEVICE -p \"{'data1':'foo', 'data2':'bar'}\"",
            " Or",
            "ares-launch com.examples.app -d DEVICE -p \"data1=foo\" -p \"data2=bar\""
        ]
    },
    "extraexample" : {
        "cmdOpt" : "hidden",
        "default" : [
            "",
            "EXAMPLE",
            "",
            "# If -P options is not used, a random port will be assigned",
            "ares-launch com.yourdomain.app -d DEVICE -i"
        ]
    }
}
