From 7d04ab1240e497e7804fed23a378d28c78f50a0a Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 19 Feb 2023 15:33:48 +0100 Subject: [PATCH] fix(sdk): readme dagger-rs -> dagger-sdk --- crates/dagger-sdk/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/dagger-sdk/README.md b/crates/dagger-sdk/README.md index 3636e7c..ed96be1 100644 --- a/crates/dagger-sdk/README.md +++ b/crates/dagger-sdk/README.md @@ -1,4 +1,4 @@ -# dagger-rs +# dagger-sdk A dagger sdk written in rust for rust. @@ -19,20 +19,20 @@ The examples match the folder name in each directory in examples Simply install like: ```bash -cargo install dagger-sdk +cargo add dagger-sdk ``` ### Usage ```rust fn main() -> eyre::Result<()> { - let client = dagger_sdk::client::connect()?; + let client = dagger_sdk::connect()?; let version = client .container(None) .from("golang:1.19".into()) .with_exec(vec!["go".into(), "version".into()], None) - .stdout(); + .stdout()?; println!("Hello from Dagger and {}", version.trim());