{
  "id": "whois",
  "name": "whois",
  "description": "Query a database for information about a domain registrant.",
  "executables": [
    "whois"
  ],
  "commands": {
    "format": 1,
    "label": "Look up a domain or IP",
    "description": "Query the default or a chosen WHOIS server.",
    "quality": "ai-draft",
    "base": "fig:whois",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/whois.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "query",
        "label": "Domain, IP or name",
        "type": "string",
        "position": 0,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "host",
        "label": "Server host",
        "type": "string",
        "option": [
          "-h"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "port",
        "label": "Server port",
        "type": "integer",
        "option": [
          "-p"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "quick",
        "label": "Quick lookup (no referrals)",
        "type": "boolean",
        "option": [
          "-Q"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "recursive",
        "label": "Recursive lookup",
        "type": "boolean",
        "option": [
          "-R"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "verbatim",
        "label": "Verbatim output",
        "type": "boolean",
        "option": [
          "-S"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "lookup",
        "label": "Look up",
        "fields": [
          "query",
          "host",
          "port",
          "quick",
          "recursive",
          "verbatim"
        ],
        "required": [
          "query"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "query",
          "host",
          "port",
          "quick",
          "recursive",
          "verbatim"
        ]
      }
    ]
  }
}
