diff options
| author | Paul Buetow <paul@buetow.org> | 2024-12-11 23:09:28 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-12-11 23:09:28 +0200 |
| commit | 121d2877cc7ed0aaf0bbe5c57b86abba982b0441 (patch) | |
| tree | 46893a05b71aaf6b25e971adda6126ae766eae7b /internal/run.go | |
| parent | 0f5ecb2715876d05bed8e54d7bd30754e57bcdc4 (diff) | |
initial summary support
Diffstat (limited to 'internal/run.go')
| -rw-r--r-- | internal/run.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/run.go b/internal/run.go index c0d8234..b3e4a1c 100644 --- a/internal/run.go +++ b/internal/run.go @@ -10,9 +10,14 @@ import ( "codeberg.org/snonux/gos/internal/prompt" "codeberg.org/snonux/gos/internal/queue" "codeberg.org/snonux/gos/internal/schedule" + "codeberg.org/snonux/gos/internal/summary" ) func Run(ctx context.Context, args config.Args) error { + if len(args.SummaryFor) > 0 { + return summary.Run(ctx, args) + } + if err := queue.Run(args); err != nil { if !softError(err) { return err |
