feat: add runtime diagnostics and path management
This commit is contained in:
16
src/coinhunter/paths.py
Normal file
16
src/coinhunter/paths.py
Normal file
@@ -0,0 +1,16 @@
|
||||
"""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())
|
||||
Reference in New Issue
Block a user