Files
lpm/cmd/remove_repository.go
zeekay 83a37a3684 the IOM entity does not appear on a public surface
Lux Partners Limited is the Isle of Man company. Lux Industries Inc, a
Delaware C corporation, is the company these sites belong to, so it is the
one they name — in metadata, copyright, and the press items that record who
signed. The fund site names Lux Assets Management LLC, which is its own
company.

Two sentences were rewritten rather than renamed, because a name was doing
work a name cannot do. One claimed an Isle of Man domicile the naming entity
does not have. The other said a company acts on behalf of another; with one
entity left it said a company acts on behalf of itself.

The Isle of Man stays everywhere it is a JURISDICTION the product supports —
the regulatory package, the jurisdiction guides, the compliance tables. Only
this company's own identity changed.
2026-08-28 13:16:04 -07:00

36 lines
774 B
Go

// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package cmd
import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
)
func removeRepository(fs afero.Fs) *cobra.Command {
alias := ""
command := &cobra.Command{
Use: "remove-repository",
Short: "removes a repository from the list of tracked repositories",
}
command.PersistentFlags().StringVar(&alias, "alias", "", "alias for the repository")
err := command.MarkPersistentFlagRequired("alias")
if err != nil {
// TODO cleanup these panics
panic(err)
}
command.RunE = func(_ *cobra.Command, _ []string) error {
lpm, err := initLPM(fs)
if err != nil {
return err
}
return lpm.RemoveRepository(alias)
}
return command
}