cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowedToContinue

func AllowedToContinue() bool

func Execute

func Execute()

Execute executes the root commmand.

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.

Jump to

Keyboard shortcuts

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