diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-03 22:51:37 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-03 22:51:37 +0200 |
| commit | ae5494d32ea9d486f7cbab6d0edf209c4d85a24c (patch) | |
| tree | aa148eb0f1cb902a5c10666629934d3cb509c331 /internal/cli/root.go | |
| parent | 212182216ce42e51da21541f39d485ae11fe5c4c (diff) | |
Task 352: add work cobra subcommands
Diffstat (limited to 'internal/cli/root.go')
| -rw-r--r-- | internal/cli/root.go | 1 |
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 } |
