NewInputResolver creates a new input resolver
(useStdin bool, verbose bool)
| 21 | |
| 22 | // NewInputResolver creates a new input resolver |
| 23 | func NewInputResolver(useStdin bool, verbose bool) *InputResolver { |
| 24 | return &InputResolver{ |
| 25 | useStdin: useStdin, |
| 26 | verbose: verbose, |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | // ResolveInput determines the input source and returns a reader and cleanup function |
| 31 | // Priority: stdin flag > explicit file argument > default tasks.md file |
no outgoing calls