Skip to content

Commit 0469283

Browse files
committed
[ba]: removed no needed dependencies
1 parent 7b7fe3c commit 0469283

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,4 @@ serde_json = "*"
1010
dialoguer = "*"
1111
serde = { version = "1.0.129", features = ["derive"] }
1212
clap = "*"
13-
execute = "*"
14-
imgui = "*"
15-
clipboard = "*"
16-
glium = "*"
13+
execute = "*"

src/main.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,11 @@ mod cli;
22
mod domain;
33
mod repositories;
44

5-
use clap::{App, Arg};
65
use repositories::config::InMemoryRepository;
76
use std::sync::Arc;
87

98
fn main() {
109
let repo = Arc::new(InMemoryRepository::new());
1110

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);
1912
}

0 commit comments

Comments
 (0)