rana-cli/README.rst

49 lines
1.3 KiB
ReStructuredText
Raw Normal View History

2013-09-05 05:30:09 +00:00
WakaTime
========
2013-07-06 07:51:09 +00:00
2014-03-12 23:21:22 +00:00
Fully automatic time tracking for programmers.
2013-12-13 15:15:41 +00:00
2015-03-09 22:13:17 +00:00
This is the common interface for the WakaTime api. You shouldn't need to directly use this package unless you are creating a new plugin or your text editor's plugin asks you to install the wakatime cli interface.
2013-12-13 14:09:09 +00:00
Go to http://wakatime.com to install the plugin for your text editor.
2013-07-06 07:51:09 +00:00
Usage
-----
2013-07-06 07:51:09 +00:00
Install the plugin for your IDE/editor at https://wakatime.com/plugins
2014-03-12 23:21:22 +00:00
2015-02-13 02:46:53 +00:00
If you are building a plugin using the `WakaTime API <https://wakatime.com/developers/>`_
then follow the `Creating a Plugin <https://wakatime.com/help/misc/creating-plugin>`_
2015-03-09 22:13:17 +00:00
guide.
2014-03-12 23:21:22 +00:00
Configuring
-----------
Options can be passed via command line, or set in the ``$HOME/.wakatime.cfg``
config file. Command line arguments take precedence over config file settings.
2015-02-13 02:46:53 +00:00
The ``$HOME/.wakatime.cfg`` file is in `INI <http://en.wikipedia.org/wiki/INI_file>`_
format. An example config file looks like::
[settings]
debug = false
api_key = your-api-key
hidefilenames = false
exclude =
^COMMIT_EDITMSG$
^TAG_EDITMSG$
^/var/
^/etc/
include =
.*
offline = true
proxy = https://user:pass@localhost:8080
Installation
------------
Each plugin installs wakatime for you, but for testing you can install the
common api interface with pip::
pip install wakatime