MCPcopy Create free account
hub / github.com/Cats-Team/AdRules / get_args

Function get_args

script/remove.py:21–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19# ============================
20
21def get_args():
22 parser = argparse.ArgumentParser(description="Remove whitelisted domains from ABP rules.")
23 parser.add_argument("--blacklist", required=True, help="Path to the ABP blocklist file (target to clean)")
24 parser.add_argument("--whitelist", required=True, help="Path to the whitelist file")
25 return parser.parse_args()
26
27def is_regex(line):
28 """

Callers 1

remove.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected