WithFlags is a special internal functional option that is used to pass flags from the CLI into any constructor that accepts functional options.
()
| 255 | // WithFlags is a special internal functional option that is used to pass flags |
| 256 | // from the CLI into any constructor that accepts functional options. |
| 257 | func WithFlags() task.ExecutorOption { |
| 258 | return &flagsOption{} |
| 259 | } |
| 260 | |
| 261 | type flagsOption struct{} |
| 262 |
no outgoing calls
no test coverage detected
searching dependent graphs…