mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
b89356b3e7
Importing wakatime package directly without need for subprocess. Using threading to prevent blocking Sublime Text.
22 lines
462 B
Python
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))
|