Skip to content

Commit

Permalink
v0.0.3 add auto merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Mon-ius committed Jul 14, 2024
1 parent 04c40b7 commit 73c6f60
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kingschip"
version = "0.0.2"
version = "0.0.3"
edition = "2021"

[dependencies]
Expand Down
6 changes: 4 additions & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use clap::Parser;

#[derive(Parser)]
struct Cli {
code: String,
code: Vec<String>,
}

fn main() -> Result<(), Box<dyn std::error::Error>> {
Expand All @@ -13,8 +13,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {

let host = cipher::get_host();
let drive = "http://127.0.0.1:4444";
let _ = ui::interface(drive, &host, &cli.code);
let code = cli.code.join("");

let _ = ui::interface(drive, &host, &code);
println!("Processing time: {:?}", start_time.elapsed());

Ok(())
}

0 comments on commit 73c6f60

Please sign in to comment.