package
0.54.0
Repository: https://github.com/lucassabreu/clockify-cli.git
Documentation: pkg.go.dev

# Functions

AddPrintMultipleTimeEntriesFlags add flags to print multiple time entries.
AddPrintTimeEntriesFlags add flags common to time entry print.
AddTimeEntryDateFlags adds the default start and end flags.
AddTimeEntryFlags will add the common flags needed to add/edit a time entry.
CreateTimeEntryFn will create a time entry.
Do will runs all callback functions over the time entry, keeping the changes and returning it after.
FillTimeEntryWithFlags will read the flags and fill the time entry with they.
GetAllowNameForIDsFn will try to find project/task/tags by their names if the value provided was not a ID.
GetDatesInteractiveFn will ask the user the start and end times of the entry.
GetPropsInteractiveFn will return a callback that asks the user interactively about the properties of the time entry, only if the parameter cmdutil.CONF_INTERACTIVE is active.
GetValidateTimeEntryFn will check if the time entry is valid given the workspace parameters.
NewDescriptionCompleter create or not a descriptionCompleter based on params.
OutInProgressFn will stop the in progress time entry, if it exists.
PrintTimeEntries will print out a list of time entries using parameters and flags.
PrintTimeEntry will print out a time entries using parameters and flags.
PrintTimeEntryImpl will print out a time entries using parameters and flags.
TimeEntryDTOToImpl returns a TimeEntryImpl using the information from a TimeEntryDTO.
TimeEntryImplToDTO returns a TimeEntryDTO using the information from a TimeEntryImpl.
ValidateClosingTimeEntry checks if the current time entry will fail to be stopped.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

OutputFlags sets how to print out a list of time entries.
TimeEntryDTO is used to keep and update the data of a time entry before changing it, taking into account optional values (nil).

# Type aliases

DescriptionSuggestFn provides suggestions to user when setting the description of a time entry.
Step is used to stack multiple actions to be executed over a TimeEntryDTO.