new jlog compat + lock + version

This commit is contained in:
Junko 2025-03-01 00:30:26 +01:00
parent e547b8696a
commit d5424b1219
4 changed files with 8 additions and 8 deletions

6
Cargo.lock generated
View File

@ -141,9 +141,9 @@ dependencies = [
[[package]] [[package]]
name = "cc" name = "cc"
version = "1.2.15" version = "1.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c736e259eea577f443d5c86c304f9f4ae0295c43f3ba05c21f1d66b5f06001af" checksum = "be714c154be609ec7f5dad223a33bf1482fff90472de28f7362806e6d4832b8c"
dependencies = [ dependencies = [
"shlex", "shlex",
] ]
@ -1028,7 +1028,7 @@ checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2"
[[package]] [[package]]
name = "pluralsync" name = "pluralsync"
version = "1.2.0" version = "1.2.1"
dependencies = [ dependencies = [
"clap", "clap",
"color-eyre", "color-eyre",

View File

@ -1,8 +1,8 @@
[package] [package]
name = "pluralsync" name = "pluralsync"
version = "1.2.0" version = "1.2.1"
edition = "2021" edition = "2021"
authors = ["jvnkyard@ak.lavenderfield.xyz"] authors = ["jvnkyard@lavenderfield.xyz"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -157,10 +157,10 @@ impl App {
let log_fronters = names.join(" || "); let log_fronters = names.join(" || ");
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
std::process::Command::new("jlog").args(["info", format!("Switch registered: {}", log_fronters)]).output().expect("Logging error"); std::process::Command::new("jlog").args(["-m","pluralsync","info", format!("registered front switch to [ {} ]", log_fronters)]).output().expect("Logging error");
#[cfg(not(target_os = "windows"))] #[cfg(not(target_os = "windows"))]
std::process::Command::new("jlog").arg("info").arg(format!("Switch registered: {}", log_fronters)).output().expect("Logging error"); std::process::Command::new("jlog").arg("-m").arg("pluralsync").arg("info").arg(format!("registered front switch to [ {} ]", log_fronters)).output().expect("Logging error");
} }
return Ok(()); return Ok(());

View File

@ -3,7 +3,7 @@ use clap::{Parser, Subcommand, ValueEnum};
#[derive(Parser)] #[derive(Parser)]
#[clap(arg_required_else_help = true, verbatim_doc_comment, author)] #[clap(arg_required_else_help = true, verbatim_doc_comment, author)]
#[command(name = "PluralSync")] #[command(name = "PluralSync")]
#[command(author = "jvnkyard <lafresita@protonmail.com>")] #[command(author = "jvnkyard <junkyard@lavenderfield.xyz>")]
#[command(version = "1.2")] #[command(version = "1.2")]
#[command( #[command(
help_template = "{name} Version {version} \n {author} \n {about-section} \n {usage-heading} {usage} \n \n {all-args} {tab}" help_template = "{name} Version {version} \n {author} \n {about-section} \n {usage-heading} {usage} \n \n {all-args} {tab}"