1
0
Fork 0
golang-github-nicholas-fedo.../docs/generators/basic.md
Daniel Baumann c0c4addb85
Adding upstream version 0.8.9.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-22 10:16:14 +02:00

614 B

Basic generator

The basic generator looks at the key:"", desc:"" and default:"" tags on service configuration structs and uses them to ask the user to fill in their corresponding values.

Example:

$ shoutrrr generate telegram
Generating URL for telegram using basic generator
Enter the configuration values as prompted

Token: 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw
Preview[Yes]: No
Notification[Yes]:
ParseMode[None]:
Channels: @mychannel

URL: telegram://110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw@telegram?channels=@mychannel&notification=Yes&parsemode=None&preview=No