MCPcopy Create free account
hub / github.com/ctoth/claudio / IsValid

Method IsValid

internal/cli/install_command.go:29–32  ·  view source on GitHub ↗

IsValid returns true if the scope is valid

()

Source from the content-addressed store, hash-verified

27
28// IsValid returns true if the scope is valid
29func (s InstallScope) IsValid() bool {
30 _, err := install.NormalizeScope(s.String())
31 return err == nil
32}
33
34// newInstallCommand creates the install subcommand with flags
35func newInstallCommand() *cobra.Command {

Callers

nothing calls this directly

Calls 2

StringMethod · 0.95
NormalizeScopeFunction · 0.92

Tested by

no test coverage detected