From c65ddb160be7c7c4d3d1378374fc6b08ab9cb2dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=CC=81s=CC=8C=20Ludvik?= Date: Tue, 25 Nov 2025 15:13:19 +0100 Subject: [PATCH] added information about what command is being run for easier debugging --- Sources/Container-Compose/Commands/ComposeUp.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/Container-Compose/Commands/ComposeUp.swift b/Sources/Container-Compose/Commands/ComposeUp.swift index 126d637..e256d05 100644 --- a/Sources/Container-Compose/Commands/ComposeUp.swift +++ b/Sources/Container-Compose/Commands/ComposeUp.swift @@ -550,6 +550,7 @@ public struct ComposeUp: AsyncParsableCommand, @unchecked Sendable { print("\nStarting service: \(serviceName)") print("Starting \(serviceName)") + print("Running: container run \(runCommandArgs.joined(separator: " "))") print("----------------------------------------\n") let _ = try await streamCommand("container", args: ["run"] + runCommandArgs, onStdout: handleOutput, onStderr: handleOutput) } @@ -633,6 +634,7 @@ public struct ComposeUp: AsyncParsableCommand, @unchecked Sendable { let buildCommand = try Application.BuildCommand.parse(commands) print("\n----------------------------------------") print("Building image for service: \(serviceName) (Tag: \(imageToRun))") + print("Running: container build \(commands.joined(separator: " "))") try buildCommand.validate() try await buildCommand.run() print("Image build for \(serviceName) completed.")