Files
iris-context/commands/ops/whois.go
T
VERSE 2ef3c90819 feat(commands): more commands (#30)
- I wrote a scripts to copy and generate all commands missing in iris
from fig repo: https://github.com/withfig/autocomplete
- Add a new script to generate commands docs about which commands
currently are inside commands folder
377d4aac663590e504fe39a92eb4dac4cbd333b2
- Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
2026-07-04 22:08:36 +07:00

32 lines
1.7 KiB
Go

package ops
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "whois",
Description: "Query a database for information about a domain registrant",
Options: []core.Option{
{Name: "-a", Description: "Use the American Registry for Internet Numbers (ARIN) database"},
{Name: "-A", Description: "Use the Asia/Pacific Network Information Center (APNIC) database"},
{Name: "-b", Description: "Use the Network Abuse Clearinghouse database"},
{Name: "-c", Description: "Equivalent to '-h TLD.whois-servers.net', where 'TLD' is this option's argument"},
{Name: "-f", Description: "Use the African Network Information Centre (AfriNIC) database"},
{Name: "-g", Description: "Use the US non-military federal government database"},
{Name: "-h", Description: "Use the specified host instead of the default (host name or IP)"},
{Name: "-i", Description: "Use the traditional Network Information Center (InterNIC) database"},
{Name: "-I", Description: "Use the Internet Assigned Numbers Authority (IANA) database"},
{Name: "-k", Description: "Use the National Internet Development Agency of Korea (KRNIC) database"},
{Name: "-l", Description: "Use the Route Arbiter Database (RADB) database"},
{Name: "-p", Description: "Connect to the whois server on the given port"},
{Name: "-P", Description: "Use the PeeringDB database of AS numbers"},
{Name: "-Q", Description: "Do a quick lookup (don't follow referrals)"},
{Name: "-r", Description: "Use the Réseaux IP Européens (RIPE) database"},
{Name: "-R", Description: "Do a recursive lookup"},
{Name: "-S", Description: "Print the output verbatim"},
},
})
}