Source code for zemfrog.commands.command

import click
from flask.cli import with_appcontext

from ..generator import g_command


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