Files

29 lines
842 B
Python
Raw Permalink Normal View History

"""
CLI for the Atomizer Template Registry.
"""
from . import list_templates, list_categories, format_template_summary, get_template
def main():
print("=== Atomizer Template Registry ===\n")
for category_id, category in list_categories().items():
# Use ASCII-safe icons for Windows compatibility
icon = "[" + category_id[:3].upper() + "]"
print(f"{icon} {category['name']}")
print(f" {category['description']}\n")
print("\n=== Available Templates ===\n")
for t in list_templates():
status = "[TURBO]" if t["turbo_suitable"] else "[FEA]"
print(f"{status} {t['name']} ({t['id']})")
print(f" {t['description']}")
print(f" Objectives: {t['n_objectives']} | Example: {t['example_study'] or 'N/A'}")
print()
if __name__ == "__main__":
main()