turdle-cli 0.1.1

Trdelník is Rust based testing framework providing several convenient developer tools for testing Solana programs written in Anchor.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use anyhow::Error;
use fehler::throws;
use trdelnik_client::*;

#[throws]
pub async fn build(root: String) {
    let commander = Commander::with_root(root);
    commander.create_program_client_crate().await?;
    commander.build_programs().await?;
    commander.generate_program_client_deps().await?;
    commander.generate_program_client_lib_rs().await?;
}