beaker 0.1.8

CosmWasm swiss-army knife configured for Osmosis by default, but trivial to make it work for other CosmWasm enabled chain.
Documentation
1
2
3
4
5
6
7
8
9
use anyhow::bail;

pub fn run_command(cmd: &mut std::process::Command) -> Result<(), anyhow::Error> {
    let exit_status = cmd.spawn()?.wait()?;
    if !exit_status.success() {
        bail!("Failed to execute: `{:#?}`", cmd)
    }
    Ok(())
}