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

@@ -63,6 +63,7 @@ func main() {
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",