This commit is contained in:
2025-05-18 12:20:14 -05:00
parent c19bedc54a
commit 558dcfe81e
2 changed files with 25 additions and 0 deletions

View File

@ -34,6 +34,11 @@ def create_app():
spec.loader.exec_module(mod)
if hasattr(mod, 'bp'):
app.register_blueprint(mod.bp)
# Register CLI commands if the plugin has any
if hasattr(mod, 'cli_commands'):
for command in mod.cli_commands:
app.cli.add_command(command)
return app