issue-core/issue_core/cli/legacy.py

19 lines
547 B
Python
Raw Normal View History

"""
Legacy entry-point shims for renamed console scripts.
Kept so that callers using the pre-rename names get a clear, loud migration
hint instead of `command not found`.
"""
import sys
def issue_tracker_hint() -> None:
"""`issue-tracker` -> `issue-core` migration hint."""
sys.stderr.write(
"issue-tracker has been renamed to issue-core.\n"
" - Run `issue-core <args>` (or the short alias `issue <args>`) instead.\n"
" - The Python package is now `issue_core` (was `issue_tracker`).\n"
)
sys.exit(2)