action

package
v0.0.0-...-619a94a Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTimeEntry

func CreateTimeEntry(ctx *cli.Context) (err error)

func GetUser

func GetUser(ctx *cli.Context) (err error)

func GetUserInfo

func GetUserInfo(ctx *cli.Context) (err error)

func GetUserWorking

func GetUserWorking(ctx *cli.Context) (err error)

func Init

func Init(ctx *cli.Context) (err error)

func StopTimeEntry

func StopTimeEntry(ctx *cli.Context) (err error)

Types

type Config

type Config struct {
	AccessToken     string `toml:"access_token"`
	LastTimeEntryId int    `toml:"last_time_entry_id"`
	TaskKey         string `toml:"task_key"`
	TaskParentId    int    `toml:"task_parent_id"`
	TaskTeamId      int    `toml:"task_team_id"`
	TaskTitle       string `toml:"task_title"`
	TaskUrl         string `toml:"task_url"`
	// contains filtered or unexported fields
}

func (*Config) Load

func (c *Config) Load(profile string) (err error)

func (Config) Write

func (c Config) Write() (err error)

Jump to

Keyboard shortcuts

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