Files
blender-portable-repo/extensions/user_default/retopoflow/scripts/get_hive_value.py
T
2026-03-17 14:58:51 -06:00

15 lines
270 B
Python

#!/usr/bin/python3
import os
import sys
import json
if len(sys.argv) != 2:
print(f'Usage: {sys.argv[0]} key')
sys.exit(1)
hive_path = os.path.join(os.path.dirname(__file__), '..', 'hive.json')
hive = json.load(open(hive_path, 'rt'))
print(hive[sys.argv[1]])