Files
issue-core/issue_core/cli/legacy.py
tegwick b20eb11583 feat: restore issue-tracker console script as migration hint
Callers using the pre-rename `issue-tracker` command now get a clear
stderr message pointing them at `issue-core` (or the short `issue`
alias) and exit code 2, instead of `command not found`.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 05:27:34 +02:00

19 lines
547 B
Python

"""
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)