Skip to content

Commit

Permalink
Change fluvio hub conn download message to instruct about cdk
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus-consoli committed Oct 31, 2023
1 parent a0d3a39 commit 48e8fb5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion crates/fluvio-cli/src/client/hub/connector/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@ impl ConnectorHubSubCmd {
pub async fn process<O: Terminal + Debug + Send + Sync>(self, out: Arc<O>) -> Result<()> {
match self {
ConnectorHubSubCmd::List(opts) => opts.process(out).await,
ConnectorHubSubCmd::Download(opts) => opts.process(out).await,
ConnectorHubSubCmd::Download(_) => {
out.println("Connectors running on `InfinyOn Cloud` are automatically downloaded during `fluvio cloud connector create ...`.");
out.println("Connectors running locally require `cdk` to download and deploy:");
out.println("1. Install cdk: `fluvio install cdk`");
out.println("2. Download connector: `cdk hub download ...`");
out.println("3. Deploy connector: `cdk deploy start ...`");
Ok(())
}
}
}
}

0 comments on commit 48e8fb5

Please sign in to comment.