sublime-wakatime/packages/wakatime/wakatime-cli.py
Alan Hamlett b89356b3e7 Upgraded wakatime package to v0.3.0.
Importing wakatime package directly without need for subprocess.
Using threading to prevent blocking Sublime Text.
2013-08-08 02:17:47 -07:00

22 lines
462 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
wakatime-cli
~~~~~~~~~~~~
Action event appender for Wakati.Me, auto time tracking for text editors.
:copyright: (c) 2013 Alan Hamlett.
:license: BSD, see LICENSE for more details.
"""
from __future__ import print_function
import os
import sys
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
import wakatime
if __name__ == '__main__':
sys.exit(wakatime.main(sys.argv))