mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 14:50:17 +00:00
18 lines
259 B
Python
Executable File
18 lines
259 B
Python
Executable File
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from httpbin import app
|
|
from flaskext.script import Manager, Command
|
|
|
|
|
|
manager = Manager(app)
|
|
|
|
|
|
@manager.command
|
|
def hello():
|
|
"""Hello World!"""
|
|
print r'\o/'
|
|
|
|
|
|
if __name__ == "__main__":
|
|
manager.run() |