INNER CODE UNIT · Go
RunCommandLine
krisnova/naml · cmd.go:50
func RunCommandLine() error {
// Default options
return RunCommandLineWithOptions()
}
// RunCommandLineWithOptions is here so we can default values in RunCommandLine() that
// we would want to pass in here later (tests, etc)
func RunCommandLineWithOptions() error {
// with is a set of paths that the user has specificed for naml
// to run with
var with cli.StringSlice
// verbose is the logger verbosity
var verbose bool = false
// kubeconfig is the --kubeconfig value
// which is used in our Client() code
var kubeconfig string