You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parser = argparse.ArgumentParser(description="Scan a directory for files containing sensitive data like API keys, private keys, and credit card numbers.")
parser.add_argument("directory", help="The directory to scan recursively.")
args = parser.parse_args()
if not os.path.isdir(args.directory):
print(f"Error: Directory not found at '{args.directory}'")