2014-05-04 19:26:43 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# vi:si:et:sw=4:sts=4:ts=4
|
2014-09-03 00:32:44 +02:00
|
|
|
|
2014-05-04 19:26:43 +02:00
|
|
|
|
|
|
|
import sys
|
|
|
|
|
2014-08-09 19:06:53 +02:00
|
|
|
import api
|
|
|
|
import commands
|
2014-05-04 19:26:43 +02:00
|
|
|
import server
|
|
|
|
|
|
|
|
if len(sys.argv) > 1 and sys.argv[1] == 'server':
|
|
|
|
server.run()
|
|
|
|
else:
|
2014-08-17 19:17:14 +02:00
|
|
|
commands.main()
|