Fucking whatever there you go
parent: tbd commit: 57c2ca5
1 | use FromStr; |
2 | |
3 | use CreateIssueRequest; |
4 | use |
5 | , | Instance
6 | , |
7 | , | GiteratedOperation
8 | , | Repository
9 | , | User
10 | ; |
11 | use ; |
12 | use Level; |
13 | |
14 | |
15 | pub async |
16 | fmt |
17 | .pretty |
18 | .with_thread_names |
19 | .with_max_level |
20 | .init; |
21 | |
22 | let mut handle = from_dylib .unwrap; |
23 | |
24 | let mut runtime = new; |
25 | |
26 | runtime.insert_plugin; |
27 | |
28 | let operation = CreateIssueRequest |
29 | name: String from, |
30 | contents: String from, |
31 | author: from_str .unwrap, |
32 | ; |
33 | |
34 | match runtime.handle_typed |
35 | unwrap, | from_str .
36 | operation, |
37 | |
38 | Ok => |
39 | println! |
40 | |
41 | Err => |
42 | println! |
43 | |
44 | |
45 | |
46 |