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