// NewAddonListCommand create addon list command
NewAddonListCommand create addon list command
// NewAddonListCommand create addon list command
func NewAddonListCommand() *cobra.Command {
	return &cobra.Command{
		Use:   "list",
		Short: "List addons",
		Long:  "List addons in KubeVela",
		RunE: func(cmd *cobra.Command, args []string) error {
			err := listAddons()
			if err != nil {
				return err
			}
			return nil
		},
	}
}
func NewAddonListCommand ( ) * cobra . Command { return & cobra . Command { Use : " " , Short : " " , Long : " " , RunE : func ( cmd * cobra . Command , args [ ] string ) error { err := listAddons ( ) if err != nil { return err } return nil } , } }
NewAddonListCommand create addon list command
NewAddonListCommand create addon list command