Add option to use file for host path

This commit is contained in:
techknowlogick 2020-04-28 23:53:44 -04:00 committed by GitHub
parent 99f63aaaa8
commit 6bbadc2720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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",