add new env. (#46)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-07-10 03:10:39 -05:00 committed by GitHub
parent 3abe443f33
commit 036ec04567

View File

@ -26,12 +26,12 @@ func main() {
cli.StringSliceFlag{
Name: "to",
Usage: "telegram user",
EnvVar: "PLUGIN_TO",
EnvVar: "PLUGIN_TO,TELEGRAM_TO",
},
cli.StringSliceFlag{
Name: "message",
Usage: "send telegram message",
EnvVar: "PLUGIN_MESSAGE",
EnvVar: "PLUGIN_MESSAGE,TELEGRAM_MESSAGE",
},
cli.StringSliceFlag{
Name: "photo",