This commit is contained in:
2025-04-05 11:21:58 +02:00
parent 88e4a2a4b1
commit e9a73327e3
5 changed files with 259 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ let builder = bah_new(container_name, base_image);
// Enable debug mode
println("Enabling debug mode...");
builder.debug = true;
builder.debug_mode = true;
// Run a simple command to see debug output
println("Running a command with debug enabled...");
@@ -22,7 +22,7 @@ let result = builder.run("echo 'Hello from debug mode'");
// Disable debug mode
println("Disabling debug mode...");
builder.debug = false;
builder.debug_mode = false;
// Run another command without debug
println("Running a command with debug disabled...");
@@ -30,7 +30,7 @@ let result2 = builder.run("echo 'Hello without debug'");
// Enable debug mode again
println("Enabling debug mode again...");
builder.debug = true;
builder.debug_mode = true;
// Remove the container with debug enabled
println("Removing the container with debug enabled...");