rana-cli/wakatime-cli.py
Alan Hamlett 02d54b76f3 using correct dirname when adding cwd to sys.path in wakatime-cli.py
fixes to wakatime package to allow directly importing.
don't add duplicate handlers to logger in log.py.
2013-08-08 02:09:54 -07:00

21 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))