hy/bin/hy
Will Kahn-Greene 4e59af0033 Redid command line code
This supports:

* -h, --help
* --version
* -c cmd
* -i cmd
* file
* -

Plus it's easy to add new options.

Also, now we can do ridiculous things like have projects where
the installation is:

$ curl -s http://example.com/install-hypster-program | hy
2013-04-23 22:02:41 -04:00

10 lines
149 B
Python
Executable File

#!/usr/bin/env python
import sys
from hy.cmdline import cmdline_handler
if __name__ == '__main__':
sys.exit(cmdline_handler("hy", sys.argv))