cmd

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2021 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WORKWEEK_DAYS     = "workweek-days"
	INTERACTIVE       = "interactive"
	ALLOW_NAME_FOR_ID = "allow-name-for-id"
	USER_ID           = "user.id"
	WORKSPACE         = "workspace"
	TOKEN             = "token"
	ALLOW_INCOMPLETE  = "allow-incomplete"
)
View Source
const ENV_PREFIX = "CLOCKIFY"
View Source
const FORMAT_JSON = "json"
View Source
const FORMAT_YAML = "yaml"
View Source
const USER_ID_FLAG = "user-id"

Variables

This section is empty.

Functions

func Execute

func Execute(v, c, d string)

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type CallbackFn added in v0.22.0

type CallbackFn func(dto.TimeEntryImpl) (dto.TimeEntryImpl, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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