flask guides import-html; retention docstring

This commit is contained in:
2026-08-27 11:27:30 -04:00
parent 5f069b1a5f
commit 28798e6a32
6 changed files with 861 additions and 3 deletions

View File

@@ -93,5 +93,10 @@ class GuidesPlugin(BasePlugin):
},
]
def get_cli_commands(self) -> List:
"""CLI: import an existing HTML article as a draft guide."""
from .cli import build_cli
return build_cli()
def init_app(self, app: Flask, db_instance) -> None:
logger.info('Guides plugin initialized (v%s)', self.meta.version)