// NewConnectorCommand creates a new command to manage connectors
NewConnectorCommand creates a new command to manage connectors
// NewConnectorCommand creates a new command to manage connectors
func NewConnectorsCommand(f *factory.Factory) *cobra.Command {
	cmd := &cobra.Command{
		Use:         "connector",
		Hidden:      true,
		Annotations: profile.DevPreviewAnnotation(),
		Short:       f.Localizer.MustLocalize("connector.cmd.shortDescription"),
		Long:        f.Localizer.MustLocalize("connector.cmd.longDescription"),
		Example:     f.Localizer.MustLocalize("connector.cmd.example"),
		Args:        cobra.MinimumNArgs(1),
	}
	cmd.AddCommand(
		cluster.NewConnectorClusterCommand(f),
		create.NewCreateCommand(f),
		delete.NewDeleteCommand(f),
		list.NewListCommand(f),
		describe.NewDescribeCommand(f),
		namespace.NewNameSpaceCommand(f),
		update.NewUpdateCommand(f),
	)
	return cmd
}
func NewConnectorsCommand ( f * factory . Factory ) * cobra . Command { cmd := & cobra . Command { Use : " " , Hidden : true , Annotations : profile . DevPreviewAnnotation ( ) , Short : f . Localizer . MustLocalize ( " " ) , Long : f . Localizer . MustLocalize ( " " ) , Example : f . Localizer . MustLocalize ( " " ) , Args : cobra . MinimumNArgs ( 1 ) , } cmd . AddCommand ( cluster . NewConnectorClusterCommand ( f ) , create . NewCreateCommand ( f ) , delete . NewDeleteCommand ( f ) , list . NewListCommand ( f ) , describe . NewDescribeCommand ( f ) , namespace . NewNameSpaceCommand ( f ) , update . NewUpdateCommand ( f ) , ) return cmd }
NewConnectorCommand creates a new command to manage connectors
NewConnectorCommand creates a new command to manage connectors
// add sub-commands