new jlog compat + lock + version
This commit is contained in:
parent
e547b8696a
commit
d5424b1219
|
@ -141,9 +141,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "cc"
|
||||
version = "1.2.15"
|
||||
version = "1.2.16"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c736e259eea577f443d5c86c304f9f4ae0295c43f3ba05c21f1d66b5f06001af"
|
||||
checksum = "be714c154be609ec7f5dad223a33bf1482fff90472de28f7362806e6d4832b8c"
|
||||
dependencies = [
|
||||
"shlex",
|
||||
]
|
||||
|
@ -1028,7 +1028,7 @@ checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2"
|
|||
|
||||
[[package]]
|
||||
name = "pluralsync"
|
||||
version = "1.2.0"
|
||||
version = "1.2.1"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"color-eyre",
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[package]
|
||||
name = "pluralsync"
|
||||
version = "1.2.0"
|
||||
version = "1.2.1"
|
||||
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
|
||||
|
||||
|
|
|
@ -157,10 +157,10 @@ impl App {
|
|||
let log_fronters = names.join(" || ");
|
||||
|
||||
#[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"))]
|
||||
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(());
|
||||
|
|
|
@ -3,7 +3,7 @@ use clap::{Parser, Subcommand, ValueEnum};
|
|||
#[derive(Parser)]
|
||||
#[clap(arg_required_else_help = true, verbatim_doc_comment, author)]
|
||||
#[command(name = "PluralSync")]
|
||||
#[command(author = "jvnkyard <lafresita@protonmail.com>")]
|
||||
#[command(author = "jvnkyard <junkyard@lavenderfield.xyz>")]
|
||||
#[command(version = "1.2")]
|
||||
#[command(
|
||||
help_template = "{name} Version {version} \n {author} \n {about-section} \n {usage-heading} {usage} \n \n {all-args} {tab}"
|
||||
|
|
Loading…
Reference in New Issue