Skip to content

Commit

Permalink
refactor: Updated "interactive_clap" to 0.2.10 ("flatten" parameter c…
Browse files Browse the repository at this point in the history
…hanged to "subargs") (#322)

Co-authored-by: FroVolod <frol_off@meta.ua>
  • Loading branch information
FroVolod and FroVolod authored Apr 22, 2024
1 parent a1bde9a commit 0e5f34c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ near-abi = "0.4.2"
zstd = "0.11"

keyring = "2.0.5"
interactive-clap = "0.2.9"
interactive-clap-derive = "0.2.9"
interactive-clap = "0.2.10"
interactive-clap-derive = "0.2.10"

[features]
default = ["ledger", "self-update"]
Expand Down
2 changes: 1 addition & 1 deletion src/commands/contract/call_function/as_read_only/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub struct CallFunctionView {
#[interactive_clap(skip_default_input_arg)]
/// What is the contract account ID?
contract_account_id: crate::types::account_id::AccountId,
#[interactive_clap(flatten)]
#[interactive_clap(subargs)]
/// Select function
function: Function,
}
Expand Down
2 changes: 1 addition & 1 deletion src/commands/contract/call_function/as_transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub struct CallFunction {
#[interactive_clap(skip_default_input_arg)]
/// What is the contract account ID?
contract_account_id: crate::types::account_id::AccountId,
#[interactive_clap(flatten)]
#[interactive_clap(subargs)]
/// Select function
function: Function,
}
Expand Down

0 comments on commit 0e5f34c

Please sign in to comment.