allow to set an orbit destination via env variable (#14658)

for #14657. Seems like we're not documenting any of the orbit flags.
This commit is contained in:
Roberto Dip 2023-10-26 18:19:59 -03:00 committed by GitHub
parent cfd0260b36
commit 6c42287914
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -0,0 +1 @@
* Allow to configure the orbit `--log-file` flag via an environment variable `ORBIT_LOG_FILE`.

View file

@ -144,8 +144,9 @@ func main() {
Usage: "Get Orbit version",
},
&cli.StringFlag{
Name: "log-file",
Usage: "Log to this file path in addition to stderr",
Name: "log-file",
Usage: "Log to this file path in addition to stderr",
EnvVars: []string{"ORBIT_LOG_FILE"},
},
&cli.BoolFlag{
Name: "fleet-desktop",