platypush/platypush/__main__.py

12 lines
189 B
Python
Raw Normal View History

2018-01-02 00:48:41 +01:00
import sys
2018-01-04 02:45:23 +01:00
from platypush import Daemon, __version__
2018-01-02 00:48:41 +01:00
2018-01-04 02:45:23 +01:00
print('Starting platypush v.{}'.format(__version__))
app = Daemon.build_from_cmdline(sys.argv[1:])
app.start()
2018-01-02 00:48:41 +01:00
# vim:sw=4:ts=4:et: