(cmd *cobra.Command)
| 478 | } |
| 479 | |
| 480 | func parsePutIfExists(cmd *cobra.Command) (string, error) { |
| 481 | ifExists, err := cmd.Flags().GetString("if-exists") |
| 482 | if err != nil { |
| 483 | return "", err |
| 484 | } |
| 485 | return normalizePutIfExists(ifExists) |
| 486 | } |
| 487 | |
| 488 | func normalizePutIfExists(ifExists string) (string, error) { |
| 489 | if ifExists == "" { |
no test coverage detected