#!/usr/bin/env python3
"""
DEPRECATED: This script has been replaced by fix_api_v2.py
This regex-based migration script is deprecated and should not be used.
Use fix_api_v2.py instead, which provides:
- Robust AST-based transformations using tree-sitter
- Safe import insertion
- Automatic backup/rollback
- Idempotent operations
- Better handling of edge cases (nested calls, multiline args, comments, etc.)
Usage:
python fix_api_v2.py --dir <directory> --transform all
python fix_api_v2.py --file <file> --transform entity
python fix_api_v2.py --file <file> --dry-run
For more information, see fix_api_v2.py --help
"""