From 8345417d023395f24279305cb3be10d9c06aeb8b Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Thu, 3 Aug 2023 10:32:06 +0800 Subject: [PATCH] add README.md --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 673b76c..39af2fe 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,10 @@ Here's a basic example of how to use rusty-docker-compose: ```rust use rusty_docker_compose::docker_compose::DockerCompose; -let docker_compose = DockerCompose::new("path/to/docker-compose.yml", "path/to/logs/dir"); - - let docker_compose = DockerCompose::new( - "tests/docker-compose.yaml", - "target/docker_logs", - ); +let docker_compose = DockerCompose::new( + "tests/docker-compose.yaml", + "target/docker_logs", +); docker_compose.up(); // ... run your tests ...