From ad5f13baf065831dd7554c84c51c5376982950ac Mon Sep 17 00:00:00 2001 From: Nando Vieira Date: Tue, 18 Jun 2024 12:44:02 -0700 Subject: [PATCH] Replace more places that were using soroban. --- cmd/soroban-cli/README.md | 8 ++++---- cmd/soroban-cli/src/commands/contract/mod.rs | 2 +- cmd/soroban-cli/src/commands/network/container.rs | 2 +- cmd/soroban-cli/src/commands/network/container/start.rs | 2 +- cmd/soroban-cli/src/commands/network/mod.rs | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cmd/soroban-cli/README.md b/cmd/soroban-cli/README.md index 67860a43d..56fadbc71 100644 --- a/cmd/soroban-cli/README.md +++ b/cmd/soroban-cli/README.md @@ -7,13 +7,13 @@ Docs: https://developers.stellar.org ## Install ``` -cargo install --locked soroban-cli +cargo install --locked stellar-cli ``` To install with the `opt` feature, which includes a WASM optimization feature and wasm-opt built in: ``` -cargo install --locked soroban-cli --features opt +cargo install --locked stellar-cli --features opt ``` ## Usage @@ -23,6 +23,6 @@ Can invoke a contract method as a subcommand with different arguments. Anything ## Example ``` -soroban invoke --id --wasm -- --help -soroban invoke --id --network futurenet -- --help +stellar invoke --id --wasm -- --help +stellar invoke --id --network futurenet -- --help ``` diff --git a/cmd/soroban-cli/src/commands/contract/mod.rs b/cmd/soroban-cli/src/commands/contract/mod.rs index 66541a546..f83cad37f 100644 --- a/cmd/soroban-cli/src/commands/contract/mod.rs +++ b/cmd/soroban-cli/src/commands/contract/mod.rs @@ -57,7 +57,7 @@ pub enum Cmd { /// everything after the `--`, gets passed to this implicit CLI. Get in-depth help for a given /// contract: /// - /// soroban contract invoke ... -- --help + /// stellar contract invoke ... -- --help Invoke(invoke::Cmd), /// Optimize a WASM file diff --git a/cmd/soroban-cli/src/commands/network/container.rs b/cmd/soroban-cli/src/commands/network/container.rs index 5ce74d07c..b4b3141d3 100644 --- a/cmd/soroban-cli/src/commands/network/container.rs +++ b/cmd/soroban-cli/src/commands/network/container.rs @@ -16,7 +16,7 @@ pub enum Cmd { /// /// Start a container running a Stellar node, RPC, API, and friendbot (faucet). /// - /// soroban network start [OPTIONS] + /// stellar network start [OPTIONS] /// /// By default, when starting a testnet container, without any optional arguments, it will run the equivalent of the following docker command: /// docker run --rm -p 8000:8000 --name stellar stellar/quickstart:testing --testnet --enable-soroban-rpc diff --git a/cmd/soroban-cli/src/commands/network/container/start.rs b/cmd/soroban-cli/src/commands/network/container/start.rs index 9d24cd960..b7f8d87a2 100644 --- a/cmd/soroban-cli/src/commands/network/container/start.rs +++ b/cmd/soroban-cli/src/commands/network/container/start.rs @@ -106,7 +106,7 @@ async fn run_docker_command(cmd: &Cmd) -> Result<(), Error> { .await?; println!("✅ Container started: {container_name}"); let stop_message = format!( - "ℹ️ To stop this container run: soroban network stop {network} {additional_flags}", + "ℹ️ To stop this container run: stellar network stop {network} {additional_flags}", network = &cmd.network, additional_flags = if cmd.docker_host.is_some() { format!("--docker-host {}", cmd.docker_host.as_ref().unwrap()) diff --git a/cmd/soroban-cli/src/commands/network/mod.rs b/cmd/soroban-cli/src/commands/network/mod.rs index 7731bf8a3..1184b5b95 100644 --- a/cmd/soroban-cli/src/commands/network/mod.rs +++ b/cmd/soroban-cli/src/commands/network/mod.rs @@ -33,7 +33,7 @@ pub enum Cmd { /// /// Start a container running a Stellar node, RPC, API, and friendbot (faucet). /// - /// soroban network start [OPTIONS] + /// stellar network start [OPTIONS] /// /// By default, when starting a testnet container, without any optional arguments, it will run the equivalent of the following docker command: /// docker run --rm -p 8000:8000 --name stellar stellar/quickstart:testing --testnet --enable-soroban-rpc