convert repository open/create to use termstatus

This commit is contained in:
Michael Eischer
2025-09-15 22:35:32 +02:00
parent c14cf48776
commit 320fb5fb98
12 changed files with 58 additions and 50 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ func (opts *UnlockOptions) AddFlags(f *pflag.FlagSet) {
func runUnlock(ctx context.Context, opts UnlockOptions, gopts GlobalOptions, term *termstatus.Terminal) error {
printer := newTerminalProgressPrinter(gopts.JSON, gopts.verbosity, term)
repo, err := OpenRepository(ctx, gopts)
repo, err := OpenRepository(ctx, gopts, printer)
if err != nil {
return err
}