legacy

package
v1.15.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2021 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cmd *cobra.Command, v *viper.Viper)

Run executes legacy commands following the interface of the old python implementation of the WakaTime script.

func RunCmd added in v1.18.1

func RunCmd(v *viper.Viper, cmd cmdFn)

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

func RunCmdWithOfflineSync(v *viper.Viper, cmd cmdFn)

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.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL