Files
timmy-config/scripts/token-tracker.py

21 lines
510 B
Python
Raw Normal View History

#!/usr/bin/env python3
"""Compatibility wrapper for the token budget tracker CLI.
Issue #622 asked for a `token-tracker.py` entrypoint. The maintained
implementation lives in `scripts/token_tracker.py`. Keep this thin shim so
operator docs and older calls continue to work.
"""
from pathlib import Path
import sys
SCRIPT_DIR = Path(__file__).resolve().parent
if str(SCRIPT_DIR) not in sys.path:
sys.path.insert(0, str(SCRIPT_DIR))
from token_tracker import main
if __name__ == "__main__":
main()