Bump version to 0.1.2 and add cargo metadata

This commit is contained in:
Quantum 2024-10-15 02:18:34 -04:00
parent 58f0ba9952
commit 6faafdd7ae
3 changed files with 11 additions and 3 deletions

2
Cargo.lock generated
View file

@ -592,7 +592,7 @@ dependencies = [
[[package]] [[package]]
name = "ntfy-run" name = "ntfy-run"
version = "0.1.1" version = "0.1.2"
dependencies = [ dependencies = [
"clap", "clap",
"itertools", "itertools",

View file

@ -1,7 +1,15 @@
[package] [package]
name = "ntfy-run" name = "ntfy-run"
version = "0.1.1" version = "0.1.2"
edition = "2021" edition = "2021"
authors = ["Quantum <me@quantum5.ca>"]
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] [dependencies]
clap = { version = "4.5.20", features = ["derive", "env"] } clap = { version = "4.5.20", features = ["derive", "env"] }

View file

@ -7,7 +7,7 @@ mod runner;
mod tap_stream; mod tap_stream;
#[derive(Parser)] #[derive(Parser)]
/// Tool to run a command, capture its output, and send it to ntfy. #[command(version, about)]
struct Cli { struct Cli {
/// URL of the ntfy server and topic, e.g. https://ntfy.sh/topic /// URL of the ntfy server and topic, e.g. https://ntfy.sh/topic
#[arg(short = 'n', long = "ntfy-url", env = "NTFY_URL", alias = "url")] #[arg(short = 'n', long = "ntfy-url", env = "NTFY_URL", alias = "url")]