mirror of
https://github.com/containers/skopeo.git
synced 2025-10-22 03:24:25 +00:00
add progress bars during copy
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
@@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/containers/image/copy"
|
||||
"github.com/containers/image/transports"
|
||||
@@ -34,6 +35,7 @@ func copyHandler(context *cli.Context) error {
|
||||
return copy.Image(contextFromGlobalOptions(context), policyContext, destRef, srcRef, ©.Options{
|
||||
RemoveSignatures: removeSignatures,
|
||||
SignBy: signBy,
|
||||
ReportWriter: os.Stdout,
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user