mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1722] Add version subcommand to cli #1197
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1197
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Saucy9607 on GitHub (Apr 29, 2026).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1722
💡 Idea
It's often useful to check the version of a program, and ntfy does support that to varying extents. For example, a relatively recently added
/v1/versionendpoint makes it easy to programmatically get the version of a server instance. However, it seems the only way to get the version from a client-use perspective is from the footer of thehelptext. Human-readable text is great for human interactions, but parsing it programmatically is brittle.It is common for CLI programs to have a
--versionflag orversionsubcommand, and I would find it useful if ntfy followed a similar pattern.💻 Target components
ntfy client/server