(p prompter.Prompter, io *iostreams.IOStreams)
| 251 | } |
| 252 | |
| 253 | func runInputHostname(p prompter.Prompter, io *iostreams.IOStreams) error { |
| 254 | fmt.Fprintln(io.Out, "Demonstrating Hostname") |
| 255 | hostname, err := p.InputHostname() |
| 256 | if err != nil { |
| 257 | return err |
| 258 | } |
| 259 | fmt.Fprintf(io.Out, "Hostname: %s\n", hostname) |
| 260 | return nil |
| 261 | } |
| 262 | |
| 263 | func runMarkdownEditor(p prompter.Prompter, io *iostreams.IOStreams) error { |
| 264 | defaultText := "default text value" |
nothing calls this directly
no test coverage detected