Add option to use file for host info (#156)

This commit is contained in:
techknowlogick
2020-04-29 02:21:31 -04:00
committed by GitHub
parent 99f63aaaa8
commit 9e205a756f

View File

@@ -60,9 +60,10 @@ func main() {
EnvVar: "PLUGIN_PASSWORD,SSH_PASSWORD,PASSWORD,INPUT_PASSWORD", EnvVar: "PLUGIN_PASSWORD,SSH_PASSWORD,PASSWORD,INPUT_PASSWORD",
}, },
cli.StringSliceFlag{ cli.StringSliceFlag{
Name: "host,H", Name: "host,H",
Usage: "connect to host", Usage: "connect to host",
EnvVar: "PLUGIN_HOST,SSH_HOST,HOST,INPUT_HOST", EnvVar: "PLUGIN_HOST,SSH_HOST,HOST,INPUT_HOST",
FilePath: ".host",
}, },
cli.IntFlag{ cli.IntFlag{
Name: "port,p", Name: "port,p",