File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,4 @@ serde_json = "*"
10
10
dialoguer = " *"
11
11
serde = { version = " 1.0.129" , features = [" derive" ] }
12
12
clap = " *"
13
- execute = " *"
14
- imgui = " *"
15
- clipboard = " *"
16
- glium = " *"
13
+ execute = " *"
Original file line number Diff line number Diff line change @@ -2,18 +2,11 @@ mod cli;
2
2
mod domain;
3
3
mod repositories;
4
4
5
- use clap:: { App , Arg } ;
6
5
use repositories:: config:: InMemoryRepository ;
7
6
use std:: sync:: Arc ;
8
7
9
8
fn main ( ) {
10
9
let repo = Arc :: new ( InMemoryRepository :: new ( ) ) ;
11
10
12
- let matches = App :: new ( "Ssh-Manager" )
13
- . arg ( Arg :: with_name ( "cli" ) . long ( "cli" ) . help ( "Runs in CLI mode" ) )
14
- . get_matches ( ) ;
15
-
16
- match matches. occurrences_of ( "cli" ) {
17
- _ => cli:: run ( repo) ,
18
- }
11
+ cli:: run ( repo) ;
19
12
}
You can’t perform that action at this time.
0 commit comments