New argument --show-time-today for fetching dashboard coding activity

This commit is contained in:
Alan Hamlett 2019-05-07 00:12:30 -07:00
parent 1f6d0f4981
commit 708001c6e7
7 changed files with 167 additions and 4 deletions

View file

@ -10,4 +10,4 @@ usage: wakatime [-h] [--entity FILE] [--key KEY] [--write] [--plugin PLUGIN]
[--include-only-with-project-file] [--extra-heartbeats]
[--log-file LOG_FILE] [--api-url API_URL] [--timeout TIMEOUT]
[--sync-offline-activity SYNC_OFFLINE_ACTIVITY]
[--config CONFIG] [--verbose] [--version]
[--show-time-today] [--config CONFIG] [--verbose] [--version]

View file

@ -76,6 +76,7 @@ optional arguments:
sent while online 5 offline heartbeats are synced. Can
be used without --entity to only sync offline activity
without generating new heartbeats.
--show-time-today Returns dashboard time for Today.
--config CONFIG Defaults to ~/.wakatime.cfg.
--verbose Turns on debug messages in log file.
--version show program's version number and exit