blob: 0ba884d7f7b432c01bd6427c62a637dddc72b91a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#[mingling::macros::dispatcher_clap]
struct EntryClap1 {
name: String,
age: i32,
}
#[mingling::macros::dispatcher_clap]
#[command(name = "greet")]
pub struct EntryClap2 {
name: String,
}
#[dispatcher_clap]
struct EntryClap3 {
value: String,
}
#[dispatcher_clap]
pub struct EntryClap4 {
value: i32,
}
pub mod sub {
#[mingling::macros::dispatcher_clap]
struct EntryClap1 {
name: String,
}
#[dispatcher_clap]
struct EntryClap3 {
value: String,
}
}
|