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