IsEnabled reports whether the tool participates in launch/upgrade.
()
| 57 | |
| 58 | // IsEnabled reports whether the tool participates in launch/upgrade. |
| 59 | func (t Tool) IsEnabled() bool { |
| 60 | if t.Enabled == nil { |
| 61 | return true |
| 62 | } |
| 63 | return *t.Enabled |
| 64 | } |
| 65 | |
| 66 | // LaunchCommand returns the CLI binary name to launch. Falls back to the |
| 67 | // tool key when cli_command is empty. |
no outgoing calls