feat(cli): add docs command #145
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a CLI command that outputs configuration documentation for a service. This can be used to automate configuration field documentation for services.
Currently it supports terminal and markdown output.
Terminal output
Markdown output
Show
Config fields
Auth
SMTP authentication method
Default:
Unknown
Possible values:
None
,Plain
,CRAMMD5
,Unknown
,OAuth2
Encryption
Encryption method
Default:
Auto
Possible values:
None
,ExplicitTLS
,ImplicitTLS
,Auto
FromAddress
e-mail address that the mail are sent from
Required
Aliases:
from
FromName
name of the sender
Default: empty
Host
SMTP server hostname or IP address
Required
Password
authentication password or hash
Default: empty
Port
SMTP server port, common ones are 25, 465, 587 or 2525
Default:
25
Subject
the subject of the sent mail
Default:
Shoutrrr Notification
Aliases:
title
ToAddresses
list of recipient e-mails separated by "," (comma)
Required
Aliases:
to
UseHTML
whether the message being sent is in HTML
Default:
No
UseStartTLS
attempt to use SMTP StartTLS encryption
Default:
Yes
Username
authentication username
Default: empty