old_contents: # -*- coding: utf-8 -*-
  
  import logging
  
  import click
  
  from bio2bel_hmdb.manager import Manager
  from bio2bel_hmdb.constants import DEFAULT_CACHE_CONNECTION
  
  
  @click.group()
  def main():
      """Bio2BEL HMDB"""
      logging.basicConfig(level=logging.INFO)
  
  
  @main.command()
  @click.option('-c', '--connection', help='Defaults to {}'.format(DEFAULT_CACHE_CONNECTION))
  def populate(connection):
      """Populates the database"""
      m = Manager(connection=connection)
      m.populate()
  
  
  @main.command()
  @click.option('-c', '--connection', help='Defaults to {}'.format(DEFAULT_CACHE_CONNECTION))
  def drop(connection):
      """Drops the database"""
      m = Manager(connection=connection)
      m.populate()
  
  
  @main.command()
  def web():
      """Run the web app"""
      from .web import app
      app.run(host='0.0.0.0', port=5000)
  
  
  if __name__ == '__main__':
      main()
  
new_contents: # -*- coding: utf-8 -*-
  
  import logging
  
  import click
  
  from bio2bel_hmdb.manager import Manager
  from bio2bel_hmdb.constants import DEFAULT_CACHE_CONNECTION
  
  
  @click.group()
  def main():
      """HMDB to BEL"""
      logging.basicConfig(level=logging.INFO)
  
  
  @main.command()
  @click.option('-c', '--connection', help='Defaults to {}'.format(DEFAULT_CACHE_CONNECTION))
  def populate(connection):
      """Populates the database"""
      m = Manager(connection=connection)
      m.populate()
  
  
  @main.command()
  @click.option('-c', '--connection', help='Defaults to {}'.format(DEFAULT_CACHE_CONNECTION))
  def drop(connection):
      """Drops the database"""
      m = Manager(connection=connection)
      m.populate()
  
  
  @main.command()
  def web():
      """Run the web app"""
      from .web import app
      app.run(host='0.0.0.0', port=5000)
  
  
  if __name__ == '__main__':
      main()
  
subject: Update text