Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run executes legacy commands following the interface of the old python implementation of the WakaTime script.
func RunCmd ¶ added in v1.18.1
RunCmd runs a command function and exits with the exit code returned by the command function. Will send diagnostic on any errors or panics.
func RunCmdWithOfflineSync ¶ added in v1.18.1
RunCmdWithOfflineSync runs a command function and exits with the exit code returned by the command function. If command run was successful, it will execute offline sync command afterwards. Will send diagnostic on any errors or panics.
func SetupLogging ¶ added in v1.18.5
SetupLogging uses the --log-file param to configure logging to file or stdout.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.