adapto_cli 0.2.5

Adapto CLI — dev server, build, check, generate, project scaffolding
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use thiserror::Error;

#[derive(Debug, Error)]
pub enum CliError {
    #[error("IO error: {0}")]
    IoError(String),
    #[error("Compile error: {0}")]
    CompileError(String),
    #[error("Check failed with {0} error(s)")]
    CheckFailed(usize),
    #[error("Config error: {0}")]
    ConfigError(String),
    #[error("Not an Adapto project (adapto.toml not found)")]
    NotAProject,
}