sublime-rana/packages/wakatime/cli.py

19 lines
370 B
Python
Raw Normal View History

2013-07-20 22:28:38 +00:00
# -*- coding: utf-8 -*-
"""
2015-03-09 22:23:29 +00:00
wakatime.cli
2013-07-20 22:28:38 +00:00
~~~~~~~~~~~~
Command-line entry point.
2013-07-20 22:28:38 +00:00
:copyright: (c) 2013 Alan Hamlett.
:license: BSD, see LICENSE for more details.
"""
2013-07-23 01:32:12 +00:00
import os
2013-07-20 22:28:38 +00:00
import sys
2015-03-09 22:23:29 +00:00
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
2013-07-20 22:28:38 +00:00
import wakatime
if __name__ == '__main__':
sys.exit(wakatime.main(sys.argv))