diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-10 23:11:30 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-10 23:11:30 +0300 |
| commit | 65430e9876a32988839deb7a70dc1e42da21cf64 (patch) | |
| tree | e0de040cb53d5b90587908f2d55e86e49664fc35 /cmd | |
| parent | 4b4b3665230faafbd994f09894cb07c8f9d4b359 (diff) | |
Release 0.28.2v0.28.2
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/totalrecall/main.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cmd/totalrecall/main.go b/cmd/totalrecall/main.go index 94a0508..30b8dc3 100644 --- a/cmd/totalrecall/main.go +++ b/cmd/totalrecall/main.go @@ -100,8 +100,12 @@ func runCommand(cmd *cobra.Command, args []string, flags *cli.Flags, deps runDep // the global Viper singleton directly (Dependency Inversion Principle). proc := newProcessor(flags) - // Handle batch processing - if flags.BatchFile != "" { + // Handle failed-asset retry mode before normal input processing. + if flags.RetryFailedAssets { + if err := proc.RetryFailedAssets(); err != nil { + return err + } + } else if flags.BatchFile != "" { // Process batch file if err := proc.ProcessBatch(); err != nil { return err |
