MCPcopy Create free account
hub / github.com/bitcoindevkit/bdk-cli / key_exec

Method key_exec

tests/integration.rs:176–182  ·  view source on GitHub ↗

Execute bdk-cli key commands with given args

(&self, args: &[&str])

Source from the content-addressed store, hash-verified

174
175 /// Execute bdk-cli key commands with given args
176 fn key_exec(&self, args: &[&str]) -> Result<Value, IntTestError> {
177 let mut key_args = ["key"].to_vec();
178 for arg in args {
179 key_args.push(arg);
180 }
181 run_cmd_with_args(&self.target, &key_args)
182 }
183
184 /// Execute bdk-cli node command
185 fn node_exec(&self, args: &[&str]) -> Result<Value, IntTestError> {

Callers 1

newMethod · 0.80

Calls 1

run_cmd_with_argsFunction · 0.85

Tested by

no test coverage detected