#!/usr/bin/python
"""
Holy is a Python to Ruby AST transformer

Usage:
  holy <file> [--debug]
  holy -h|--help

Options:
  --debug     just ignore this for now..
  -h --help   Displays this very holy message

Examples:
  holy /path/to/spam.py

"""

from docopt import docopt

if __name__ == '__main__':
  from holy import Holy

  args = docopt(__doc__)

  import os
  if args["--debug"]:
    os.environ["debug"] = "holyout"
    os.environ["HACK"] = "holyout"
  h = Holy(open(args["<file>"]).read())
  print h.toRuby()
