INNER CODE UNIT · Python

manage

pybel/pybel · src/pybel/cli.py:412

def manage():
    """Manage the database."""


@manage.command()
@click.confirmation_option()
@click.pass_obj
def drop(manager: Manager):
    """Drop the database."""
    manager.drop_all()


@manage.command()
@click.option("-v", "--debug", is_flag=True)
@click.pass_obj
def examples(manager: Manager, debug: bool):
    """Load examples to the database."""
    level = logging.DEBUG if debug else logging.INFO

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…