{
  "name": "tldr",
  "description": "A simpler man page than the existing man page",
  "options": [
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Display help for command"
    },
    {
      "names": [
        "-s",
        "--search"
      ],
      "description": "Search all pages for the query",
      "takes_arg": true,
      "arg": {
        "name": "query"
      }
    },
    {
      "names": [
        "--linux"
      ],
      "description": "Show command page for Linux",
      "takes_arg": true
    },
    {
      "names": [
        "--osx"
      ],
      "description": "Show command page for OSX",
      "takes_arg": true
    },
    {
      "names": [
        "--sunos"
      ],
      "description": "Show command page for SunOS",
      "takes_arg": true
    },
    {
      "names": [
        "-l",
        "--list"
      ],
      "description": "Show all pages for current platform"
    },
    {
      "names": [
        "-u",
        "--update"
      ],
      "description": "Download the latest pages and generate search index"
    },
    {
      "names": [
        "-c",
        "--clear-cache"
      ],
      "description": "Delete the entire local cache"
    },
    {
      "names": [
        "--platform",
        "-p"
      ],
      "description": "Select platform",
      "takes_arg": true,
      "arg": {
        "name": "platform",
        "suggestions": [
          "linux",
          "osx",
          "sunos",
          "windows",
          "common"
        ]
      }
    }
  ]
}
