4e59af0033
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
10 lines
149 B
Python
Executable File
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))
|