Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Clockfile string
View Source
var Debug bool
View Source
var EffectiveTimeNow = time.Now() //.round(time.Minute)
View Source
var ModifyEffectiveTime time.Duration
View Source
var RootCmd = &cobra.Command{
Use: "p",
Short: "Punch or short 'p': A flexible time tracker and time reporting tool",
Long: `Punch or short 'p': A flexible time tracker and time reporting tool.
made by (and mainly for) Jörg Ramb.
Use this tool to keep track of time spent on projects, assignments, work, etc.
Apart from registering the time periods in a database you
can use this to perform simple todo, logging and reporting on the data.`,
}
RootCmd represents the base command when called without any subcommands
View Source
var RoundTime time.Duration
View Source
var RoundingBias time.Duration // rounding modifier should not be more then half the RoundTime
View Source
var ShowRounding bool
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetEffectiveTime ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.