{
  "name": "dscacheutil",
  "description": "Utility for managing the Directory Service cache",
  "subcommands": [
    {
      "name": "-h",
      "description": "List the options for calling dscacheutil"
    },
    {
      "name": "-q",
      "description": "Query the Directory Service cache",
      "options": [
        {
          "names": [
            "-a"
          ],
          "description": "Attribute to query",
          "takes_arg": true,
          "arg": {
            "name": "attributeKey"
          }
        }
      ],
      "args": [
        {
          "name": "category",
          "description": "Category to query",
          "suggestions": [
            "group",
            "host",
            "mount",
            "protocol",
            "rpc",
            "service",
            "user"
          ]
        }
      ]
    },
    {
      "name": "-cachedump",
      "description": "Get an overview of the cache by default",
      "options": [
        {
          "names": [
            "-buckets"
          ],
          "description": "Get an overview of the cache by default"
        },
        {
          "names": [
            "-entries"
          ],
          "description": "Dump detailed information about cache entries",
          "takes_arg": true,
          "arg": {
            "name": "entry",
            "suggestions": [
              "group",
              "host",
              "mount",
              "protocol",
              "rpc",
              "service",
              "user"
            ]
          }
        }
      ]
    },
    {
      "name": "-configuration",
      "description": "Get the current configuration information, such as the search policy and cache parameters"
    },
    {
      "name": "-flushcache",
      "description": "Flush the entire cache"
    },
    {
      "name": "-statistics",
      "description": "Get statistics from the cache, including an overview an detailed call statistics"
    }
  ]
}
