from flask.cli import AppGroup
from .cards import seed_cards, undo_cards, drop_cards

# Creates a seed group to hold our commands
# So we can type `flask seed --help`
seed_commands = AppGroup('seed')
# db_commands = AppGroup('drop')
# Creates the `flask seed all` command


@seed_commands.command('all')
def seed():
    seed_cards()
    # Add other seed functions here


# Creates the `flask seed undo` command
@seed_commands.command('undo')
def undo():
    undo_cards()
    # Add other undo functions here


@seed_commands.command('drop')
def drop():
    drop()
