mirror of
https://github.com/quantum5/ntfy-run.git
synced 2025-04-24 05:31:58 -04:00
Bump version to 0.1.2 and add cargo metadata
This commit is contained in:
parent
58f0ba9952
commit
6faafdd7ae
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -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",
|
||||||
|
|
10
Cargo.toml
10
Cargo.toml
|
@ -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"] }
|
||||||
|
|
|
@ -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")]
|
||||||
|
|
Loading…
Reference in a new issue