Source code for zemfrog.commands.model

import click
from flask.cli import with_appcontext

from ..generator import g_model


@click.group("model")
[docs]def group():
""" Model generator. """ @group.command() @with_appcontext @click.argument("name")
[docs]def new(name): """ Create model. """ g_model(name)
[docs]command = group