Source code for zemfrog.commands.blueprint

import click
from flask.cli import with_appcontext

from ..generator import g_blueprint


@click.group("blueprint")
[docs]def group():
""" Blueprint generator. """ @group.command() @with_appcontext @click.argument("name")
[docs]def new(name): """ Create blueprint. """ g_blueprint(name)
[docs]command = group