Source code for zemfrog.commands.extension

import click
from flask.cli import with_appcontext

from ..generator import g_extension


@click.group("extension")
[docs]def group():
""" Extension generator. """ @group.command() @with_appcontext @click.argument("name")
[docs]def new(name): """ Create extension. """ g_extension(name)
[docs]command = group