51 lines
2.9 KiB
Text
51 lines
2.9 KiB
Text
usage: wakatime [-h] [--entity FILE] [--key KEY] [--write] [--plugin PLUGIN]
|
|
[--time time] [--lineno LINENO] [--cursorpos CURSORPOS]
|
|
[--entitytype ENTITY_TYPE] [--proxy PROXY] [--project PROJECT]
|
|
[--alternate-project ALTERNATE_PROJECT] [--hostname HOSTNAME]
|
|
[--disableoffline] [--hidefilenames] [--exclude EXCLUDE]
|
|
[--include INCLUDE] [--logfile LOGFILE] [--apiurl API_URL]
|
|
[--timeout TIMEOUT] [--config CONFIG] [--verbose] [--version]
|
|
|
|
Common interface for the WakaTime api.
|
|
|
|
optional arguments:
|
|
-h, --help show this help message and exit
|
|
--entity FILE absolute path to file for the heartbeat; can also be a
|
|
url, domain, or app when --entitytype is not file
|
|
--key KEY your wakatime api key; uses api_key from
|
|
~/.wakatime.conf by default
|
|
--write when set, tells api this heartbeat was triggered from
|
|
writing to a file
|
|
--plugin PLUGIN optional text editor plugin name and version for User-
|
|
Agent header
|
|
--time time optional floating-point unix epoch timestamp; uses
|
|
current time by default
|
|
--lineno LINENO optional line number; current line being edited
|
|
--cursorpos CURSORPOS
|
|
optional cursor position in the current file
|
|
--entitytype ENTITY_TYPE
|
|
entity type for this heartbeat. can be one of "file",
|
|
"url", "domain", or "app"; defaults to file.
|
|
--proxy PROXY optional https proxy url; for example:
|
|
https://user:pass@localhost:8080
|
|
--project PROJECT optional project name
|
|
--alternate-project ALTERNATE_PROJECT
|
|
optional alternate project name; auto-discovered
|
|
project takes priority
|
|
--hostname HOSTNAME hostname of current machine.
|
|
--disableoffline disables offline time logging instead of queuing
|
|
logged time
|
|
--hidefilenames obfuscate file names; will not send file names to api
|
|
--exclude EXCLUDE filename patterns to exclude from logging; POSIX regex
|
|
syntax; can be used more than once
|
|
--include INCLUDE filename patterns to log; when used in combination
|
|
with --exclude, files matching include will still be
|
|
logged; POSIX regex syntax; can be used more than once
|
|
--logfile LOGFILE defaults to ~/.wakatime.log
|
|
--apiurl API_URL heartbeats api url; for debugging with a local server
|
|
--timeout TIMEOUT number of seconds to wait when sending heartbeats to
|
|
api
|
|
--config CONFIG defaults to ~/.wakatime.conf
|
|
--verbose turns on debug messages in log file
|
|
--version show program's version number and exit
|