cmd

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

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