(p prompter.Prompter, io *iostreams.IOStreams)
| 231 | } |
| 232 | |
| 233 | func runAuthToken(p prompter.Prompter, io *iostreams.IOStreams) error { |
| 234 | fmt.Fprintln(io.Out, "Demonstrating Auth Token (can't be blank)") |
| 235 | token, err := p.AuthToken() |
| 236 | if err != nil { |
| 237 | return err |
| 238 | } |
| 239 | fmt.Fprintf(io.Out, "Auth token: %s\n", token) |
| 240 | return nil |
| 241 | } |
| 242 | |
| 243 | func runConfirmDeletion(p prompter.Prompter, io *iostreams.IOStreams) error { |
| 244 | fmt.Fprintln(io.Out, "Demonstrating Deletion Confirmation") |