aiken 0.0.24

Cardano smart contract language and toolchain
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::path::PathBuf;

#[derive(clap::Args)]
/// Type-check an Aiken project
pub struct Args {
    /// Path to project
    #[clap(short, long)]
    directory: Option<PathBuf>,
}

pub fn exec(Args { directory }: Args) -> miette::Result<()> {
    crate::with_project(directory, |p| p.check())
}