forked from extern/httpie-cli
18 lines
272 B
Python
18 lines
272 B
Python
#!/usr/bin/env python
|
|
"""The main entry point. Invoke as `http' or `python -m httpie'.
|
|
|
|
"""
|
|
import sys
|
|
|
|
|
|
def main():
|
|
try:
|
|
from .core import main
|
|
sys.exit(main())
|
|
except KeyboardInterrupt:
|
|
sys.exit(1)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|