diff --git a/Cargo.lock b/Cargo.lock index ead734f..3561acf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -592,7 +592,7 @@ dependencies = [ [[package]] name = "ntfy-run" -version = "0.1.1" +version = "0.1.2" dependencies = [ "clap", "itertools", diff --git a/Cargo.toml b/Cargo.toml index c4da515..6a92c78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,15 @@ [package] name = "ntfy-run" -version = "0.1.1" +version = "0.1.2" edition = "2021" +authors = ["Quantum "] +description = "ntfy-run is a tool to run a command, capture its output, and send it to a ntfy server." +readme = "README.md" +homepage = "https://github.com/quantum5/ntfy-run" +repository = "https://github.com/quantum5/ntfy-run" +license = "GPL-3" +keywords = ["ntfy", "cron", "notifications", "utility"] +categories = ["command-line-interface"] [dependencies] clap = { version = "4.5.20", features = ["derive", "env"] } diff --git a/src/main.rs b/src/main.rs index 33127a4..981ad01 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,7 +7,7 @@ mod runner; mod tap_stream; #[derive(Parser)] -/// Tool to run a command, capture its output, and send it to ntfy. +#[command(version, about)] struct Cli { /// URL of the ntfy server and topic, e.g. https://ntfy.sh/topic #[arg(short = 'n', long = "ntfy-url", env = "NTFY_URL", alias = "url")]