// Line struct holds data parsed via flags for the service
typeLinestruct{
ChanSecretstring
ChanAccessToken string
Messagestring
Receiversstring
Titlestring
Secret string
Tokenstring
Messagestring
Receiversstring
Titlestring
}
// Send parses values from *cli.context and returns a *cli.Command.
@ -26,24 +26,26 @@ type Line struct {
funcSend()*cli.Command{
varlineOptsLine
return&cli.Command{
Name:"line",
Usage:"Send message to line messenger",
Description:`Line messenger uses a channel secret and a channel access token to authenticate & send messages through line to various receivers. Multiple receiver IDs can be used separated by comma ','. All configuration options are also available via environment variables.`,