package debug // Author: Weisen Pan // Date: 2023-10-24 import ( "github.com/spf13/pflag" ) // Options represents the combined set of options for all operating modes. type Options struct { Kubeconfig string // Path to the kubeconfig file for analysis. } // AddFlags adds the flag to the pflag.FlagSet. func (options *Options) AddFlags(fs *pflag.FlagSet) { fs.StringVar(&options.Kubeconfig, "kubeconfig", options.Kubeconfig, "Path to the kubeconfig file to use for analysis.") }