// NewNamespaceCommand creates a new command to manage connector namespaces
NewNamespaceCommand creates a new command to manage connector namespaces
// NewNamespaceCommand creates a new command to manage connector namespaces
func NewNameSpaceCommand(f *factory.Factory) *cobra.Command {
	cmd := &cobra.Command{
		Use:     "namespace",
		Short:   f.Localizer.MustLocalize("connector.namespace.cmd.shortDescription"),
		Long:    f.Localizer.MustLocalize("connector.namespace.cmd.longDescription"),
		Example: f.Localizer.MustLocalize("connector.namespace.cmd.example"),
		Args:    cobra.MinimumNArgs(1),
	}
	cmd.AddCommand(
		list.NewListCommand(f),
		create.NewCreateCommand(f),
		delete.NewDeleteCommand(f),
	)
	return cmd
}
func NewNameSpaceCommand ( f * factory . Factory ) * cobra . Command { cmd := & cobra . Command { Use : " " , Short : f . Localizer . MustLocalize ( " " ) , Long : f . Localizer . MustLocalize ( " " ) , Example : f . Localizer . MustLocalize ( " " ) , Args : cobra . MinimumNArgs ( 1 ) , } cmd . AddCommand ( list . NewListCommand ( f ) , create . NewCreateCommand ( f ) , delete . NewDeleteCommand ( f ) , ) return cmd }
NewNamespaceCommand creates a new command to manage connector namespaces
NewNamespaceCommand creates a new command to manage connector namespaces
// add sub-commands