Skip to content

Commit

Permalink
Merge branch 'main' into pre-commit-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando authored Jun 29, 2024
2 parents c414ed9 + d8bf2b0 commit a4b1393
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion FULL_HELP_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ Deploy a wasm contract

Possible values: `true`, `false`

* `--alias <ALIAS>` — The alias that will be used to save the contract's id
* `--alias <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



Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]:stellar/stellar-cli.git
```

## Setup Autocomplete
```
stellar completion --shell <SHELL>
Expand All @@ -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
2 changes: 2 additions & 0 deletions cmd/soroban-cli/src/commands/contract/deploy/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>,
}
Expand Down

0 comments on commit a4b1393

Please sign in to comment.