Esempio n. 1
0
def initdb_command():
    """Delete DB and creates a new database with all the Markdown files."""
    clean_db()
    print('Initialized the database.')
Esempio n. 2
0
def cleandb_command():
    """Delete DB and creates a new database with all the Markdown files."""
    clean_db()
    log.info("cleaned the database.")