- Split 900-line precheck_core.py into 9 focused modules: precheck_constants, time_utils, data_utils, state_manager, market_data, candidate_scoring, snapshot_builder, adaptive_profile, trigger_analyzer - Remove dead auto_trader command and module - Migrate 7 root-level command modules into commands/: check_api, doctor, external_gate, init_user_state, market_probe, paths, rotate_external_gate_log - Keep thin backward-compatible facades in root package - Update cli.py MODULE_MAP to route through commands/ - Verified compileall and smoke tests for all key commands
17 lines
303 B
Python
17 lines
303 B
Python
"""Print CoinHunter runtime paths."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import json
|
|
|
|
from ..runtime import get_runtime_paths
|
|
|
|
|
|
def main() -> int:
|
|
print(json.dumps(get_runtime_paths().as_dict(), ensure_ascii=False, indent=2))
|
|
return 0
|
|
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|