More progress :)
parent: tbd commit: 92c3f32
1 | use FromStr; |
2 | |
3 | use CreateIssueRequest; |
4 | use ; |
5 | use ; |
6 | use Level; |
7 | |
8 | |
9 | pub async |
10 | fmt |
11 | .pretty |
12 | .with_thread_names |
13 | .with_max_level |
14 | .init; |
15 | |
16 | let handle = from_dylib .unwrap; |
17 | |
18 | let mut runtime = new; |
19 | |
20 | runtime.insert_plugin; |
21 | |
22 | let operation = CreateIssueRequest |
23 | name: String from, |
24 | contents: String from, |
25 | author: from_str .unwrap, |
26 | ; |
27 | |
28 | match runtime.handle_typed |
29 | unwrap, | from_str .
30 | operation, |
31 | |
32 | Ok => |
33 | println! |
34 | |
35 | Err => |
36 | println! |
37 | |
38 | |
39 | |
40 |