1
0
mirror of https://github.com/fumiama/terasu-cloudflared.git synced 2026-06-09 12:40:35 +08:00

TUN-1619: Add flag to test declarative tunnels.

This commit is contained in:
Chung-Ting Huang
2019-04-04 17:04:55 -05:00
parent c18702f297
commit 102b364cc9
3 changed files with 64 additions and 58 deletions

View File

@@ -689,5 +689,11 @@ func tunnelFlags(shouldHide bool) []cli.Flag {
EnvVars: []string{"TUNNEL_TRACE_OUTPUT"},
Hidden: shouldHide,
}),
altsrc.NewBoolFlag(&cli.BoolFlag{
Name: "use-declarative-tunnels",
Usage: "Test establishing connections with declarative tunnel methods.",
EnvVars: []string{"TUNNEL_USE_DECLARATIVE"},
Hidden: true,
}),
}
}