// readCommand prompts for and reads the next command. func readCommand(p *profile.Profile, ui plugin.UI, f *flags) (string, error) { //ui.Print("Options:\n", f.String(p)) s, err := ui.ReadLine() return strings.TrimSpace(s), err }