asto 0.1.0

Asto is a minimalist DSL for documenting CLI tools, built from the ground up in Rust.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub struct Utilities {
    pub symbols: &'static [u8; 7],
    pub valtype: [&'static str; 4],
    pub valstatus: [&'static str; 4],
}

impl Utilities {
    pub fn new() -> Self {
        Self {
            symbols: b">/:{}-\"",
            valtype: ["str", "bool", "int", "float"],
            valstatus: ["new", "depr", "expm", "stable"]
        }
    }
}