diff --git a/Cargo.lock b/Cargo.lock
index 76252ec..f1b7537 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1815,9 +1815,9 @@ dependencies = [
 
 [[package]]
 name = "golem-wasm-rpc"
-version = "0.0.9"
+version = "0.0.10"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aff98581d76216a42bcdaf511874a92a23f867cc9fe9b1ca8e9a38b52dd55186"
+checksum = "5dda60483d07c166b768f675b1f2e31dba3fb1d6ce0f231f9725e88e3f6660bb"
 dependencies = [
  "arbitrary",
  "bigdecimal",
@@ -1833,9 +1833,9 @@ dependencies = [
 
 [[package]]
 name = "golem-wasm-rpc-stubgen"
-version = "0.0.9"
+version = "0.0.10"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6e2155097c78513dddfa58015b63f5df39b23264f1a264824aa555ac6490569"
+checksum = "32e140c72c08a2c81d50fcc228082354d736912d464727d193b42cd987a0ec9b"
 dependencies = [
  "anyhow",
  "cargo-component",
diff --git a/Cargo.toml b/Cargo.toml
index 0f4852d..4e7f543 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,7 +23,7 @@ derive_more = "0.99.17"
 futures-util = "0.3.30"
 golem-client = "0.0.63"
 golem-examples = "0.1.11"
-golem-wasm-rpc-stubgen = { version = "0.0.9", optional = true }
+golem-wasm-rpc-stubgen = { version = "0.0.10", optional = true }
 http = "1.0.0"
 indoc = "2.0.4"
 itertools = "0.11.0"
diff --git a/src/main.rs b/src/main.rs
index b08a076..f576e67 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -204,7 +204,7 @@ async fn async_main(cmd: GolemCommand) -> Result<(), Box<dyn std::error::Error>>
                 .map_err(|err| GolemError(format!("{err}")))
                 .map(|res| GolemResult::Ok(Box::new(res))),
             golem_wasm_rpc_stubgen::Command::InitializeWorkspace(args) => {
-                golem_wasm_rpc_stubgen::initialize_workspace(args)
+                golem_wasm_rpc_stubgen::initialize_workspace(args, "golem-cli", &["stubgen"])
                     .map_err(|err| GolemError(format!("{err}")))
                     .map(|res| GolemResult::Ok(Box::new(res)))
             }