argot-cmd 0.2.0

An agent-first command interface framework for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
//! Expected error: "field `field` has `#[argot(...)]` but is missing a kind — add `positional` or `flag`"
use argot::ArgotCommand;

#[derive(ArgotCommand)]
struct Bad {
    #[argot(description = "no kind specified")]
    field: String,
}

fn main() {}