Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TemplateData map[string]interface{}
View Source
var Templates = template.Must(template.New("Help").Parse(`
{{define "NameVer"}}lyco {{.Version}}{{end}}
{{define "OneLine"}}A terminal user interface for pomodoro technique🍅{{end}}
{{define "Header"}}{{template "NameVer" .}}
{{template "OneLine"}}
{{end}}
`))
Functions ¶
Types ¶
type Lyco ¶
type Lyco struct { PomodoroDuration string `long:"duration" short:"d" description:"🍅 Pomdoro timer's duration (eg. 25m)"` ShortBreaksDuration string `long:"short-breaks" description:"☕ Short breaks duration (eg. 5m)"` LongBreaksDuration string `long:"long-breaks" description:"☕ Long breaks duration (eg. 15m)"` Help bool `long:"help" short:"h" optional:"true" optional-value:"true" description:"Show this help message."` Debug bool `long:"debug" hidden:"true" optional:"true" optional-value:"true" description:"Enable lyco 🐛debugging."` }
Click to show internal directories.
Click to hide internal directories.