code: func NewOptions(flags *flag.FlagSet, orchestrator command.Orchestrator) Options {
  	opts := Options{
  		Orchestrator: orchestrator,
  	}
  	if namespace, err := flags.GetString("namespace"); err == nil {
  		opts.Namespace = namespace
  	}
  	if kubeConfig, err := flags.GetString("kubeconfig"); err == nil {
  		opts.Config = kubeConfig
  	}
  	return opts
  }
docs: // NewOptions returns an Options initialized with command line flags