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 } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/whois.ts" license = "MIT" [[commands.field]] id = "query" label = "Domain, IP or name" type = "string" position = 0 sources = ["fig"] [[commands.field]] id = "host" label = "Server host" type = "string" option = ["-h"] sources = ["fig"] [[commands.field]] id = "port" label = "Server port" type = "integer" option = ["-p"] sources = ["fig"] [[commands.field]] id = "quick" label = "Quick lookup (no referrals)" type = "boolean" option = ["-Q"] sources = ["fig"] [[commands.field]] id = "recursive" label = "Recursive lookup" type = "boolean" option = ["-R"] sources = ["fig"] [[commands.field]] id = "verbatim" label = "Verbatim output" type = "boolean" option = ["-S"] sources = ["fig"] [[commands.task]] id = "lookup" label = "Look up" fields = ["query", "host", "port", "quick", "recursive", "verbatim"] required = ["query"] [[commands.group]] id = "basic" label = "Basic" fields = ["query", "host", "port", "quick", "recursive", "verbatim"]