mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-07-05 22:02:49 +08:00
Add option to use file for host path
This commit is contained in:
parent
99f63aaaa8
commit
6bbadc2720
1
main.go
1
main.go
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user