(opts *CreateOptions)
| 92 | } |
| 93 | |
| 94 | func createRun(opts *CreateOptions) error { |
| 95 | if !opts.NoPrompt { |
| 96 | if err := PromptMissing(opts); err != nil { |
| 97 | return err |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | if err := opts.Commit(); err != nil { |
| 102 | return err |
| 103 | } |
| 104 | if !opts.NoPrompt { |
| 105 | fmt.Fprint(opts.Out, "Automation Command: ") |
| 106 | opts.GenerateAutomationCmd() |
| 107 | } |
| 108 | |
| 109 | return nil |
| 110 | } |
| 111 | |
| 112 | func PromptMissing(opts *CreateOptions) error { |
| 113 | messagePrefix := "" |
no test coverage detected