k3s/pkg/cli/cmds/config.go

17 lines
315 B
Go
Raw Normal View History

2020-07-10 17:34:00 +00:00
package cmds
import (
"github.com/rancher/spur/cli"
)
var (
DefaultConfig = "/etc/rancher/k3s/flags.conf"
ConfigFlag = cli.StringFlag{
Name: "config",
Aliases: []string{"c"},
Usage: "(config) Load configuration from `FILE`",
EnvVars: []string{"K3S_CONFIG_FILE"},
Value: DefaultConfig,
}
)