mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #148] [MERGED] Add authentification support for subscribing with CLI #1223
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#1223
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?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/148
Author: @lrabane
Created: 2/17/2022
Status: ✅ Merged
Merged: 2/17/2022
Merged by: @binwiederhier
Base:
main← Head:cli-auth📝 Commits (3)
f4f5edbAdd auth support for subscribingb89c18eAdd support for auth in client config7e1a71bAdd docs for auth support with CLI📊 Changes
5 files changed (+62 additions, -5 deletions)
View changed files
📝
client/client.yml(+4 -0)📝
client/config.go(+5 -3)📝
client/config_test.go(+6 -2)📝
cmd/subscribe.go(+23 -0)📝
docs/subscribe/cli.md(+24 -0)📄 Description
I added
-u username[:password]parameter tontfy subscribejust like the one inntfy publish.I also added
userandpasswordkey for each subscription inclient.yml.Close #147
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.