summaryrefslogtreecommitdiff
path: root/internal/cli/root.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-03 22:51:37 +0200
committerPaul Buetow <paul@buetow.org>2026-03-03 22:51:37 +0200
commitae5494d32ea9d486f7cbab6d0edf209c4d85a24c (patch)
treeaa148eb0f1cb902a5c10666629934d3cb509c331 /internal/cli/root.go
parent212182216ce42e51da21541f39d485ae11fe5c4c (diff)
Task 352: add work cobra subcommands
Diffstat (limited to 'internal/cli/root.go')
-rw-r--r--internal/cli/root.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/cli/root.go b/internal/cli/root.go
index 53b7758..f2512b5 100644
--- a/internal/cli/root.go
+++ b/internal/cli/root.go
@@ -50,6 +50,7 @@ func NewRootCmd() *cobra.Command {
cmd.Flags().BoolVar(&showVersion, "version", false, "Print version and exit")
cmd.PersistentFlags().StringVar(&configPath, "config", "", "Path to config file")
cmd.AddCommand(newTimerCmd())
+ cmd.AddCommand(newWorkCmd())
return cmd
}