(r io.Reader)
| 54 | } |
| 55 | |
| 56 | func (b *InteractiveWorkflowBuilder) ensureNonTTYScanner(r io.Reader) *bufio.Scanner { |
| 57 | if b.nonTTYScanner == nil { |
| 58 | b.nonTTYScanner = bufio.NewScanner(r) |
| 59 | } |
| 60 | return b.nonTTYScanner |
| 61 | } |
| 62 | |
| 63 | // CreateWorkflowInteractively prompts the user to build a workflow interactively |
| 64 | func CreateWorkflowInteractively(ctx context.Context, workflowName string, verbose bool, force bool) error { |
no outgoing calls
no test coverage detected