func NewCmdPluginList(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command {
	o := &PluginListOptions{
		IOStreams: streams,
	}

	cmd := &cobra.Command{
		Use:   "list",
		Short: "list all visible plugin executables on a user's PATH",
		Long:  pluginListLong,
		Run: func(cmd *cobra.Command, args []string) {
			cmdutil.CheckErr(o.Complete(cmd))
			cmdutil.CheckErr(o.Run())
		},
	}

	cmd.Flags().BoolVar(&o.NameOnly, "name-only", o.NameOnly, "If true, display only the binary name of each plugin, rather than its full path")
	return cmd
}
// NewCmdPluginList provides a way to list all plugin executables visible to kubectl
NewCmdPluginList provides a way to list all plugin executables visible to kubectl
// NewCmdPluginList provides a way to list all plugin executables visible to kubectl
func NewCmdPluginList(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command {
	o := &PluginListOptions{
		IOStreams: streams,
	}
	cmd := &cobra.Command{
		Use:   "list",
		Short: "list all visible plugin executables on a user's PATH",
		Long:  pluginListLong,
		Run: func(cmd *cobra.Command, args []string) {
			cmdutil.CheckErr(o.Complete(cmd))
			cmdutil.CheckErr(o.Run())
		},
	}
	cmd.Flags().BoolVar(&o.NameOnly, "name-only", o.NameOnly, "If true, display only the binary name of each plugin, rather than its full path")
	return cmd
}
func NewCmdPluginList ( f cmdutil . Factory , streams genericclioptions . IOStreams ) * cobra . Command { o := & PluginListOptions { IOStreams : streams , } cmd := & cobra . Command { Use : " " , Short : " " , Long : pluginListLong , Run : func ( cmd * cobra . Command , args [ ] string ) { cmdutil . CheckErr ( o . Complete ( cmd ) ) cmdutil . CheckErr ( o . Run ( ) ) } , } cmd . Flags ( ) . BoolVar ( & o . NameOnly , " " , o . NameOnly , " " ) return cmd }
NewCmdPluginList provides a way to list all plugin executables visible to kubectl
NewCmdPluginList provides a way to list all plugin executables visible to kubectl