6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-11 15:51:00 +00:00
tutor/bin/main.py

26 lines
467 B
Python
Executable File

#!/usr/bin/env python3
from tutor.plugins import OfficialPlugin
from tutor.commands.cli import main
# Manually install plugins (this is for creating the bundle)
for plugin_name in [
"android",
"discovery",
"ecommerce",
"forum",
"license",
"mfe",
"minio",
"notes",
"richie",
"webui",
"xqueue",
]:
try:
OfficialPlugin.load(plugin_name)
except ImportError:
pass
if __name__ == "__main__":
main()