stellar-scaffold-cli 0.0.23

Stellar CLI plugin for building smart contracts with frontend support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use clap::{CommandFactory, Parser};

use stellar_scaffold_cli::Root;

#[tokio::main]
async fn main() {
    let mut root = Root::try_parse().unwrap_or_else(|e| {
        let mut cmd = Root::command();
        e.format(&mut cmd).exit();
    });

    if let Err(e) = root.run().await {
        eprintln!("error: {e}");
        std::process::exit(1);
    }
}