Files
momentry_core/scripts/test_args.py
Warren 8f05a7c188 feat: update Python processors and add utility scripts
- Update ASR, face, OCR, pose processors
- Add release pre-flight check script
- Add synonym generation, chunk processing scripts
- Add face recognition, stamp search utilities
2026-04-30 15:07:49 +08:00

22 lines
523 B
Python

#!/opt/homebrew/bin/python3.11
"""
Test script to see what arguments are being passed
"""
import sys
import json
print("Arguments received:")
for i, arg in enumerate(sys.argv):
print(f" {i}: {arg}")
# Write output file
output = {"success": True, "message": "Test successful", "args": sys.argv}
# Output path should be the second argument
if len(sys.argv) > 2:
output_path = sys.argv[2]
with open(output_path, "w") as f:
json.dump(output, f, indent=2)
print(f"Output written to: {output_path}")