new_contents: """
  Command line interface module.
  """
  
  import logging
  import sys
  
  import aaargh
  import ujson
  
  from .reader import iter_records
  
  app = aaargh.App(
      description="Neustar (formerly Quova) data set utilities.")
  
  
  @app.cmd(description="foobar")
  @app.cmd_arg('filename')
  def convert(filename):
      out_fp = sys.stdout
  
      write = out_fp.write
      dumps = ujson.dumps
      for doc in iter_records(filename):
          write(dumps(doc))
          write('\n')
  
  
  def main():
      logging.basicConfig(
          format='%(asctime)s (%(name)s) %(levelname)s: %(message)s',
          level=logging.INFO,
      )
      app.run()
  
  
  if __name__ == '__main__':
      main()
  
subject: Add CLI module