Documentation ¶
Overview ¶
Package cmd contains the commands and subcommands of punchcard
Index ¶
Constants ¶
View Source
const DateFormat = "2006-01-02"
DateFormat is a ISO8601 conforming date string
View Source
const DateTimeFormat = "2006-01-02T15:04:05"
DateTimeFormat is a ISO8601 conforming date time string
View Source
const TimeFmtHHMM = "15:04"
TimeFmtHHMM is a time format with hours and minutes only
View Source
const TimeFormat = "15:04:05"
TimeFormat is a ISO8601 conforming time string
Variables ¶
View Source
var VERSION = "0.4.7"
VERSION is the program version
Functions ¶
func Execute ¶
func Execute()
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.
func PrintStatus ¶
func PrintStatus(e *data.WorkLogEntry, verbose bool)
PrintStatus will print the currently (incomplete)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.