WithTrustedHosts configures the [Reader] with a list of trusted hosts for remote Taskfiles. Hosts in this list will not prompt for user confirmation.
(trustedHosts []string)
| 129 | // WithTrustedHosts configures the [Reader] with a list of trusted hosts for remote |
| 130 | // Taskfiles. Hosts in this list will not prompt for user confirmation. |
| 131 | func WithTrustedHosts(trustedHosts []string) ReaderOption { |
| 132 | return &trustedHostsOption{trustedHosts: trustedHosts} |
| 133 | } |
| 134 | |
| 135 | type trustedHostsOption struct { |
| 136 | trustedHosts []string |
no outgoing calls
no test coverage detected
searching dependent graphs…