cmd

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultDir is the default directory inside the user's home directory
	// that will store omw data files
	DefaultDir = ".local/share/omw"
	// DefaultFile is the default filename for the primary time tracking data log
	DefaultFile = "omw.toml"
)

Variables

View Source
var Format = "text"

Format defines the string output format for the report (text or json)

View Source
var From string

From specifies the start date of the report output

View Source
var MousetrapHelpText string

MousetrapHelpText Set MousetrapHelpText to an empty string to disable Cobra's automatic display of a warning to Windows users who double-click the binary from Windows Explorer. We want to have our own mousetrap and alias it to 'omw report'.

To specified the end date of the report output

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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