EnabledNames returns the enabled tools sorted by name.
()
| 134 | |
| 135 | // EnabledNames returns the enabled tools sorted by name. |
| 136 | func (r *Registry) EnabledNames() []string { |
| 137 | names := []string{} |
| 138 | for name, t := range r.Tools { |
| 139 | if t.IsEnabled() { |
| 140 | names = append(names, name) |
| 141 | } |
| 142 | } |
| 143 | sort.Strings(names) |
| 144 | return names |
| 145 | } |
| 146 | |
| 147 | // LaunchNames returns the enabled tools' CLI binary names (deduplicated and |
| 148 | // sorted). This is the canonical list of binaries `cam launch` and the |
no test coverage detected