FlaskBB is a simple and extensible forum software for building communities.
flaskbb_cli()
flaskbb_shell_context()
These hooks are only invoked when using the flaskbb CLI.
flaskbb
Hook for registering CLI commands.
For example:
@impl def flaskbb_cli(cli): @cli.command() def testplugin(): click.echo("Hello Testplugin") return testplugin
app – The application object.
cli – The FlaskBBGroup CLI object.
Hook for registering shell context handlers Expected to return a single callable function that returns a dictionary or iterable of key value pairs.