Skip to content

Commit

Permalink
Fix other places that were referencing soroban.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando committed Jun 18, 2024
1 parent 64a7d3d commit 78bc7cf
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 19 deletions.
14 changes: 7 additions & 7 deletions FULL_HELP_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,14 @@ Utilities to deploy a Stellar Asset Contract or get its id

###### **Subcommands:**

* `id` — Get Id of builtin Soroban Asset Contract. Deprecated, use `soroban contract id asset` instead
* `id` — Get Id of builtin Soroban Asset Contract. Deprecated, use `stellar contract id asset` instead
* `deploy` — Deploy builtin Soroban Asset Contract



## `stellar contract asset id`

Get Id of builtin Soroban Asset Contract. Deprecated, use `soroban contract id asset` instead
Get Id of builtin Soroban Asset Contract. Deprecated, use `stellar contract id asset` instead

**Usage:** `stellar contract asset id [OPTIONS] --asset <ASSET> --source-account <SOURCE_ACCOUNT>`

Expand Down Expand Up @@ -1211,8 +1211,8 @@ Start and configure networks
* `add` — Add a new network
* `rm` — Remove a network
* `ls` — List networks
* `start` — ⚠️ Deprecated: use `soroban container start` instead
* `stop` — ⚠️ Deprecated: use `soroban container stop` instead
* `start` — ⚠️ Deprecated: use `stellar container start` instead
* `stop` — ⚠️ Deprecated: use `stellar container stop` instead
* `container` — Commands to start, stop and get logs for a quickstart container


Expand Down Expand Up @@ -1281,7 +1281,7 @@ List networks

## `stellar network start`

⚠️ Deprecated: use `soroban container start` instead
⚠️ Deprecated: use `stellar container start` instead

Start network

Expand Down Expand Up @@ -1314,9 +1314,9 @@ By default, when starting a testnet container, without any optional arguments, i

## `stellar network stop`

⚠️ Deprecated: use `soroban container stop` instead
⚠️ Deprecated: use `stellar container stop` instead

Stop a network started with `network start`. For example, if you ran `soroban network start local`, you can use `soroban network stop local` to stop it.
Stop a network started with `network start`. For example, if you ran `stellar network start local`, you can use `stellar network stop local` to stop it.

**Usage:** `stellar network stop [OPTIONS] <NETWORK>`

Expand Down
8 changes: 2 additions & 6 deletions cmd/soroban-cli/src/commands/config/locator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,9 @@ pub enum Error {
NoConfigEnvVar,
#[error("Failed to create directory: {path:?}")]
DirCreationFailed { path: PathBuf },
#[error(
"Failed to read secret's file: {path}.\nProbably need to use `soroban config identity add`"
)]
#[error("Failed to read secret's file: {path}.\nProbably need to use `stellar keys add`")]
SecretFileRead { path: PathBuf },
#[error(
"Failed to read network file: {path};\nProbably need to use `soroban config network add`"
)]
#[error("Failed to read network file: {path};\nProbably need to use `stellar network add`")]
NetworkFileRead { path: PathBuf },
#[error(transparent)]
Toml(#[from] toml::de::Error),
Expand Down
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/contract/asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use super::{deploy, id};

#[derive(Debug, clap::Subcommand)]
pub enum Cmd {
/// Get Id of builtin Soroban Asset Contract. Deprecated, use `soroban contract id asset` instead
/// Get Id of builtin Soroban Asset Contract. Deprecated, use `stellar contract id asset` instead
Id(id::asset::Cmd),
/// Deploy builtin Soroban Asset Contract
Deploy(deploy::asset::Cmd),
Expand Down
6 changes: 3 additions & 3 deletions cmd/soroban-cli/src/commands/network/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub enum Cmd {
Rm(rm::Cmd),
/// List networks
Ls(ls::Cmd),
/// ⚠️ Deprecated: use `soroban container start` instead
/// ⚠️ Deprecated: use `stellar container start` instead
///
/// Start network
///
Expand All @@ -38,9 +38,9 @@ pub enum Cmd {
/// 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
Start(container::StartCmd),
/// ⚠️ Deprecated: use `soroban container stop` instead
/// ⚠️ Deprecated: use `stellar container stop` instead
///
/// Stop a network started with `network start`. For example, if you ran `soroban network start local`, you can use `soroban network stop local` to stop it.
/// Stop a network started with `network start`. For example, if you ran `stellar network start local`, you can use `stellar network stop local` to stop it.
Stop(container::StopCmd),

/// Commands to start, stop and get logs for a quickstart container
Expand Down
4 changes: 2 additions & 2 deletions cmd/soroban-cli/src/commands/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ use crate::{utils, Root};

#[derive(thiserror::Error, Debug)]
pub enum Error {
#[error("Plugin not provided. Should be `soroban plugin` for a binary `soroban-plugin`")]
#[error("Plugin not provided. Should be `stellar plugin` for a binary `stellar-plugin`")]
MissingSubcommand,
#[error(transparent)]
IO(#[from] std::io::Error),
#[error(
r#"error: no such command: `{0}`
{1}View all installed plugins with `soroban --list`"#
{1}View all installed plugins with `stellar --list`"#
)]
ExecutableNotFound(String, String),
#[error(transparent)]
Expand Down

0 comments on commit 78bc7cf

Please sign in to comment.