refactor: always use golang version of CopyFromImage

This commit is contained in:
Jose Diaz-Gonzalez
2024-12-16 01:47:00 -05:00
parent 7522ca87d2
commit becba49c87
2 changed files with 7 additions and 40 deletions

View File

@@ -20,6 +20,12 @@ func main() {
var err error
switch cmd {
case "copy-from-image":
appName := flag.Arg(1)
image := flag.Arg(2)
source := flag.Arg(3)
destination := flag.Arg(4)
err = common.CopyFromImage(appName, image, source, destination)
case "docker-cleanup":
appName := flag.Arg(1)
force := common.ToBool(flag.Arg(2))