code: def print_version(ctx, value):
      
      if not value:
          return
      import pkg_resources
      version = None
      try:
          version = pkg_resources.get_distribution('sandman').version
      finally:
          del pkg_resources
      click.echo(version)
      ctx.exit()
docs: Print the current version of sandman and exit.