soonq/commands/commands.py
def clear_work():
    """Clear the table of work."""
    con = sqlite3.connect(str(DB_PATH))
    with con:
        con.execute(
            f"""
            DELETE FROM {WORK_TABLENAME}
            """
        )
    con.close()
    echo("Cleared table of work.")
Clear the table of work.
Clear the table of work.
Clear the table of work .
def clear_work():
    con = sqlite3.connect(str(DB_PATH))
    with con:
        con.execute(
            f"""
            DELETE FROM {WORK_TABLENAME}
            """
        )
    con.close()
    echo("Cleared table of work.")
def clear_work ( ) : con = sqlite3 . connect ( str ( DB_PATH ) ) with con : con . execute ( f"""
            DELETE FROM {WORK_TABLENAME}
            """ ) con . close ( ) echo ( "Cleared table of work." )
Clear the table of work.
Clear the table of work .
"""Clear the table of work."""