MCPcopy
hub / github.com/nsonaniya2010/SubDomainizer / argerror

Function argerror

SubDomainizer.py:89–105  ·  view source on GitHub ↗

This function will get all the files path (including filename) recursively, given root folder. Parameters ---------- urls : str URL to scan for information. listfile: str Path of file which contains urls seperated by newline.

(urls, listfile)

Source from the content-addressed store, hash-verified

87
88
89def argerror(urls, listfile):
90 """
91
92 This function will get all the files path (including filename) recursively, given root folder.
93
94 Parameters
95 ----------
96 urls : str
97 URL to scan for information.
98 listfile: str
99 Path of file which contains urls seperated by newline.
100 """
101 if (urls is None and listfile is None) or (urls is not None and listfile is not None):
102 print("Atmost one of -u/--url or -l/--listfile or -f/--folder argument is required. Exiting...")
103 sys.exit(1)
104 else:
105 pass
106
107
108def gitArgError(gitToken, isGit):

Callers 1

SubDomainizer.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected