From 8552c3d2bb2f11fd5a9ba580110b2c0cec85eb47 Mon Sep 17 00:00:00 2001 From: Jane Wang Date: Fri, 28 Jun 2024 17:52:57 -0400 Subject: [PATCH 1/2] Update README to use install with unreleased features (#1422) --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index a838f2f8f..120c9d3b9 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,12 @@ Install with Homebrew: brew install stellar/tap/stellar-cli ``` +## Install Experimental Features +To use the potentially unreleased bleeding edge CLI functionalities, install from git: +``` +cargo install --locked stellar-cli --features opt --git git@github.com:stellar/stellar-cli.git +``` + ## Setup Autocomplete ``` stellar completion --shell @@ -50,4 +56,5 @@ For upcoming features, please see the [project board](https://github.com/orgs/st Find issues to contribute to [here](https://github.com/stellar/stellar-cli/contribute) and review [CONTRIBUTING.md](/CONTRIBUTING.md). Developer Docs: https://developers.stellar.org/docs + Developer Docs CLI Examples: https://developers.stellar.org/docs/smart-contracts/guides/cli From d8bf2b06772774df50909f49b55b26ae19c1c1f1 Mon Sep 17 00:00:00 2001 From: Nando Vieira Date: Sat, 29 Jun 2024 16:06:50 -0700 Subject: [PATCH 2/2] Update alias help. (#1419) --- FULL_HELP_DOCS.md | 2 +- cmd/soroban-cli/src/commands/contract/deploy/wasm.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/FULL_HELP_DOCS.md b/FULL_HELP_DOCS.md index 0842b6d98..ce1f5fede 100644 --- a/FULL_HELP_DOCS.md +++ b/FULL_HELP_DOCS.md @@ -460,7 +460,7 @@ Deploy a wasm contract Possible values: `true`, `false` -* `--alias ` — The alias that will be used to save the contract's id +* `--alias ` — The alias that will be used to save the contract's id. Whenever used, `--alias` will always overwrite the existing contract id configuration without asking for confirmation diff --git a/cmd/soroban-cli/src/commands/contract/deploy/wasm.rs b/cmd/soroban-cli/src/commands/contract/deploy/wasm.rs index 7f51862cf..b85b65bcc 100644 --- a/cmd/soroban-cli/src/commands/contract/deploy/wasm.rs +++ b/cmd/soroban-cli/src/commands/contract/deploy/wasm.rs @@ -56,6 +56,8 @@ pub struct Cmd { /// Whether to ignore safety checks when deploying contracts pub ignore_checks: bool, /// The alias that will be used to save the contract's id. + /// Whenever used, `--alias` will always overwrite the existing contract id + /// configuration without asking for confirmation. #[arg(long, value_parser = clap::builder::ValueParser::new(alias_validator))] pub alias: Option, }