Skip to content

Support for @blueprint.cli.command #1357

@lnielsen

Description

@lnielsen

It would be great to have access to the functionality of app.cli.command via blueprints - i.e. something like:

blueprint = Blueprint('myblueprint', __name__,)

@blueprint.cli.command()
def doblueprintstuff():
    """Initialize the database."""
    #....

It would help a lot when building modular applications.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions