INNER CODE UNIT · Python

remove_all

evangelosmeklis/peepdb · peepdb/cli.py:115

def remove_all():
    """
    Remove all saved connections.

    Example:
    peepdb remove-all
    """
    count = remove_all_connections()
    click.echo(f"{count} connection(s) have been removed.")


@cli.command()
@click.argument('connection_name')
@click.option('--table', required=False, help='Specific table to view')
@click.option('--format', type=click.Choice(['table', 'json']), default='table', help='Output format')
@click.option('--page', type=int, default=1, help='Page number to view')
@click.option('--page-size', type=int, default=50, help='Number of rows per page')
@click.option('--scientific', is_flag=True, help='Use scientific notation for numbers')

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…