diff --git a/Cargo.lock b/Cargo.lock index 545e2fd..0af19d8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -51,6 +51,12 @@ dependencies = [ "windows-sys", ] +[[package]] +name = "ascii" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16" + [[package]] name = "autocfg" version = "1.1.0" @@ -803,8 +809,9 @@ dependencies = [ [[package]] name = "xmodits-lib" version = "0.7.0" -source = "git+https://github.com/B0ney/xmodits-lib.git?rev=8d81d0c#8d81d0c31d84d0e96d12264a33753d6d38a176eb" +source = "git+https://github.com/B0ney/xmodits-lib.git?rev=b72ca08#b72ca0892d21d5aa4c19ee8752710253664eb00f" dependencies = [ + "ascii", "bytemuck", "dasp", "extended", diff --git a/Cargo.toml b/Cargo.toml index 56e68be..0a8c914 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "xmodits" authors = ["B0ney - https://github.com/B0ney"] -description = "XMODITS Commandline application" +description = "XMODITS command line application" version = "0.11.0" edition = "2021" license = "LGPLv3" -repository = "https://github.com/B0ney/xmodits" +repository = "https://github.com/B0ney/xmodits-cli" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies.xmodits-lib] git = "https://github.com/B0ney/xmodits-lib.git" -rev = "8d81d0c" +rev = "b72ca08" [dependencies] clap = { version = "4.3.11", features = ["derive", "cargo", "wrap_help"] } diff --git a/src/main.rs b/src/main.rs index df5a0f8..d23928d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,6 +7,10 @@ use cli::Cli; fn main() { let mut cli = Cli::parse_from(wild::args()); + if cli.info { + return api::info(cli); + } + let destination = match destination_dir(&mut cli.trackers) { Ok(path) => path, Err(e) => { @@ -14,10 +18,6 @@ fn main() { } }; - if cli.info { - return api::info(cli); - } - #[cfg(windows)] let no_exit_prompt = cli.no_exit_prompt;