today

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(v *viper.Viper)

Run executes the today command.

func Summary

func Summary(v *viper.Viper) (string, error)

Summary returns a rendered summary of todays coding activity.

Types

type Params

type Params struct {
	API     legacyparams.APIParams
	Network legacyparams.NetworkParams
}

Params contains today command parameters.

func LoadParams

func LoadParams(v *viper.Viper) (Params, error)

LoadParams loads today config params from viper.Viper instance. Returns ErrAuth if failed to retrieve api key.

Jump to

Keyboard shortcuts

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