15 lines
269 B
Python
15 lines
269 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
# vi:si:et:sw=4:sts=4:ts=4
|
|
from __future__ import division, print_function
|
|
|
|
import sys
|
|
|
|
import api
|
|
import commands
|
|
import server
|
|
|
|
if len(sys.argv) > 1 and sys.argv[1] == 'server':
|
|
server.run()
|
|
else:
|
|
commands.main()
|