Documentation
¶
Index ¶
- func AllowedToContinue() bool
- func Execute()
- func ExitIfAppNotConfigured()
- func NewAddCommand(activityRepo core.ActivityRepository) *cobra.Command
- func NewCurrentCommand(activityRepo core.ActivityRepository) *cobra.Command
- func NewDeleteCommand(activityRepo core.ActivityRepository) *cobra.Command
- func NewInitCommand(activityRepo core.ActivityRepository) *cobra.Command
- func NewListCommand(activityRepo core.ActivityRepository) *cobra.Command
- func NewReportCommand(activityRepo core.ActivityRepository) *cobra.Command
- func NewStartCommand(activityRepo core.ActivityRepository) *cobra.Command
- func NewStopCommand(activityRepo core.ActivityRepository) *cobra.Command
- func NewUpdateCommand(activityRepo core.ActivityRepository) *cobra.Command
- func NewWipeCommand(activityRepo core.ActivityRepository) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowedToContinue ¶
func AllowedToContinue() bool
func ExitIfAppNotConfigured ¶
func ExitIfAppNotConfigured()
func NewAddCommand ¶
func NewAddCommand(activityRepo core.ActivityRepository) *cobra.Command
NewAddCommand builds the "add" command
func NewCurrentCommand ¶
func NewCurrentCommand(activityRepo core.ActivityRepository) *cobra.Command
NewCurrentCommand displays the current running activity
func NewDeleteCommand ¶
func NewDeleteCommand(activityRepo core.ActivityRepository) *cobra.Command
NewDeleteCommand deletes an activity registered from the system
func NewInitCommand ¶
func NewInitCommand(activityRepo core.ActivityRepository) *cobra.Command
NewInitCommand inits the application
func NewListCommand ¶
func NewListCommand(activityRepo core.ActivityRepository) *cobra.Command
NewListCommand registers the list activity command
func NewReportCommand ¶
func NewReportCommand(activityRepo core.ActivityRepository) *cobra.Command
NewReportCommand creates ativities reports
func NewStartCommand ¶
func NewStartCommand(activityRepo core.ActivityRepository) *cobra.Command
NewStartCommand starts tracking the time for an activity
func NewStopCommand ¶
func NewStopCommand(activityRepo core.ActivityRepository) *cobra.Command
NewStopCommand stops tracking an activity
func NewUpdateCommand ¶
func NewUpdateCommand(activityRepo core.ActivityRepository) *cobra.Command
NewUpdateCommand builds the "update" command
func NewWipeCommand ¶
func NewWipeCommand(activityRepo core.ActivityRepository) *cobra.Command
NewWipeCommand deletes log data for a given period
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.