1818def iris_investigate (
1919 ctx : typer .Context ,
2020 domains : str = typer .Option (None , "-d" , "--domains" , help = "Domains to use." ),
21- data_updated_after : str = typer .Option (
22- None , "--data-updated-after" , help = "The data updated after."
23- ),
24- expiration_date : str = typer .Option (
25- None , "--expiration-date" , help = "The expiration date."
26- ),
21+ data_updated_after : str = typer .Option (None , "--data-updated-after" , help = "The data updated after." ),
22+ expiration_date : str = typer .Option (None , "--expiration-date" , help = "The expiration date." ),
2723 create_date : str = typer .Option (None , "--create-date" , help = "The create date." ),
28- active : bool = typer .Option (
29- None , "--active" , help = "The domains that are in active state"
30- ),
31- search_hash : str = typer .Option (
32- None , "--search-hash" , help = "The search hash to use"
33- ),
24+ active : bool = typer .Option (None , "--active" , help = "The domains that are in active state" ),
25+ search_hash : str = typer .Option (None , "--search-hash" , help = "The search hash to use" ),
3426 src_file : str = typer .Option (
3527 None ,
3628 "-s" ,
@@ -59,24 +51,25 @@ def iris_investigate(
5951 help = "Output format in {'list', 'json', 'xml', 'html'}" ,
6052 callback = DTCLICommand .validate_format_input ,
6153 ),
62- out_file : typer .FileTextWrite = typer .Option (
63- sys .stdout , "-o" , "--out-file" , help = "Output file (defaults to stdout)"
64- ),
54+ out_file : typer .FileTextWrite = typer .Option (sys .stdout , "-o" , "--out-file" , help = "Output file (defaults to stdout)" ),
6555 no_verify_ssl : bool = typer .Option (
6656 False ,
6757 "--no-verify-ssl" ,
6858 help = "Skip verification of SSL certificate when making HTTPs API calls" ,
6959 ),
60+ no_header_authentication : bool = typer .Option (
61+ False ,
62+ "--no-header-auth" ,
63+ help = "Don't use header authentication" ,
64+ ),
7065):
7166
7267 extra_args = ctx .args .copy ()
7368 kwargs = DTCLICommand .args_to_dict (* extra_args )
7469 if "ssl_hash" in kwargs :
7570 # silently remove the ':' if present.
7671 ssl_hash_value = kwargs ["ssl_hash" ]
77- kwargs ["ssl_hash" ] = remove_special_char_in_string (
78- ssl_hash_value , special_char = ":"
79- )
72+ kwargs ["ssl_hash" ] = remove_special_char_in_string (ssl_hash_value , special_char = ":" )
8073
8174 DTCLICommand .run (name = c .IRIS_INVESTIGATE , params = ctx .params , ** kwargs )
8275
@@ -117,14 +110,17 @@ def iris_enrich(
117110 help = "Output format in {'list', 'json', 'xml', 'html'}" ,
118111 callback = DTCLICommand .validate_format_input ,
119112 ),
120- out_file : typer .FileTextWrite = typer .Option (
121- sys .stdout , "-o" , "--out-file" , help = "Output file (defaults to stdout)"
122- ),
113+ out_file : typer .FileTextWrite = typer .Option (sys .stdout , "-o" , "--out-file" , help = "Output file (defaults to stdout)" ),
123114 no_verify_ssl : bool = typer .Option (
124115 False ,
125116 "--no-verify-ssl" ,
126117 help = "Skip verification of SSL certificate when making HTTPs API calls" ,
127118 ),
119+ no_header_authentication : bool = typer .Option (
120+ False ,
121+ "--no-header-auth" ,
122+ help = "Don't use header authentication" ,
123+ ),
128124):
129125 DTCLICommand .run (name = c .IRIS_ENRICH , params = ctx .params )
130126
@@ -142,9 +138,7 @@ def iris(
142138 nameserver : str = typer .Option (None , "--nameserver" , help = "Nameserver to use." ),
143139 registrar : str = typer .Option (None , "--registrar" , help = "Registrar to use." ),
144140 registrant : str = typer .Option (None , "--registrant" , help = "Registrant to use." ),
145- registrant_org : str = typer .Option (
146- None , "--registrant-org" , help = "Registrant Org to use."
147- ),
141+ registrant_org : str = typer .Option (None , "--registrant-org" , help = "Registrant Org to use." ),
148142 user : str = typer .Option (None , "-u" , "--user" , help = "Domaintools API Username." ),
149143 key : str = typer .Option (None , "-k" , "--key" , help = "DomainTools API key" ),
150144 creds_file : str = typer .Option (
@@ -166,14 +160,17 @@ def iris(
166160 help = "Output format in {'list', 'json', 'xml', 'html'}" ,
167161 callback = DTCLICommand .validate_format_input ,
168162 ),
169- out_file : typer .FileTextWrite = typer .Option (
170- sys .stdout , "-o" , "--out-file" , help = "Output file (defaults to stdout)"
171- ),
163+ out_file : typer .FileTextWrite = typer .Option (sys .stdout , "-o" , "--out-file" , help = "Output file (defaults to stdout)" ),
172164 no_verify_ssl : bool = typer .Option (
173165 False ,
174166 "--no-verify-ssl" ,
175167 help = "Skip verification of SSL certificate when making HTTPs API calls" ,
176168 ),
169+ no_header_authentication : bool = typer .Option (
170+ False ,
171+ "--no-header-auth" ,
172+ help = "Don't use header authentication" ,
173+ ),
177174):
178175 params = ctx .params .copy ()
179176 if (
0 commit comments