code: def cmd_whois_domain(domain):
      
  
      warnings.filterwarnings("ignore")
  
      data = whois.whois(domain)
      data = remove_duplicates(data)
  
      print(json.dumps(data, indent=4, default=str))
docs: Simple whois client to check domain names.
  
      Example:
  
      \b
      $ habu.whois.domain portantier.com
      {
          "domain_name": "portantier.com",
          "registrar": "Amazon Registrar, Inc.",
          "whois_server": "whois.registrar.amazon.com",
          ...