mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1483] CLI: allow setting default-host via flag and environment variable #1046
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#1046
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 @DerRockWolf on GitHub (Nov 8, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1483
💡 Idea
As nearly all ntfy server commands (
serve,token,user, ...) support specifying various settings via flags and environment variables I would love to see the same for the "client" commands (sub,pub).default-hostshould also support being set via flag and environment variableWhile looking around I've also noticed that the for
ntfy pubNTFY_CONFIGcan be used to point to a different config file, butntfy subdoesn't support theNTFY_CONFIGenvironment variable.💻 Target components
ntfy CLI