Documentation ¶
Index ¶
Constants ¶
View Source
const ( HelpNamesForIds = util.HelpNamesForIds HelpMoreInfoAboutPrinting = util.HelpMoreInfoAboutPrinting )
Variables ¶
This section is empty.
Functions ¶
func AddReportFlags ¶
func AddReportFlags( f cmdutil.Factory, cmd *cobra.Command, rf *ReportFlags, )
AddReportFlags add flags for print out the time entries
func ReportWithRange ¶
func ReportWithRange( f cmdutil.Factory, start, end time.Time, out io.Writer, rf ReportFlags, ) error
ReportWithRange fetches and prints out time entries
Types ¶
type ReportFlags ¶ added in v0.39.0
type ReportFlags struct { util.OutputFlags FillMissingDates bool Billable bool NotBillable bool Description string Project string TagIDs []string }
ReportFlags reads the "shared" flags for report commands
func NewReportFlags ¶ added in v0.39.0
func NewReportFlags() ReportFlags
NewReportFlags helps creating a util.ReportFlags for report commands
func (ReportFlags) Check ¶ added in v0.39.0
func (rf ReportFlags) Check() error
Check will assure that there is no conflicting flag values
Click to show internal directories.
Click to hide internal directories.