Documentation
¶
Overview ¶
Package notify provides terminal output functions for the notify command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupDone ¶
SetupDone prints the success block after saving a webhook: configured URL (masked) and encrypted file path.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- maskedURL: masked webhook URL for display.
- encPath: encrypted file path.
func SetupPrompt ¶
SetupPrompt prints the interactive webhook URL prompt.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
func TestFiltered ¶
TestFiltered prints the notice when the test event is filtered.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
func TestNoWebhook ¶
TestNoWebhook prints the message when no webhook is configured.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
func TestResult ¶
TestResult prints the webhook test response block: status line and optional working confirmation.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- statusCode: HTTP response status code.
- encPath: encrypted file path for the working message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.