old_contents: # -*- coding: utf-8 -*-
  
  """Console script for postalcodes_mexico."""
  import sys
  import click
  
  
  @click.command()
  def main(args=None):
      """Console script for postalcodes_mexico."""
      click.echo("Replace this message by putting your code into "
                 "postalcodes_mexico.cli.main")
      click.echo("See click documentation at http://click.pocoo.org/")
      return 0
  
  
  if __name__ == "__main__":
      sys.exit(main())  # pragma: no cover
  
new_contents: # -*- coding: utf-8 -*-
  
  """Console script for postalcodes_mexico."""
  import sys
  import click
  
  from postalcodes_mexico import postalcodes_mexico
  
  
  @click.command()
  @click.argument('postalcode', type=str)
  def main(postalcode):
      """Console script for postalcodes_mexico."""
      places = postalcodes_mexico.places(postalcode)
      click.echo(places)
      return 0
  
  
  if __name__ == "__main__":
      sys.exit(main())  # pragma: no cover
  
subject: Create simple CLI for the `places` function