(result removeResult)
| 91 | } |
| 92 | |
| 93 | func removeJSONStatus(result removeResult) string { |
| 94 | if result.Input.Permanent { |
| 95 | return removeJSONStatusPermanentlyDeleted |
| 96 | } |
| 97 | return removeJSONStatusDeleted |
| 98 | } |
| 99 | |
| 100 | func parseRemoveOptions(cmd *cobra.Command) (removeOptions, error) { |
| 101 | force, err := cmd.Flags().GetBool("force") |
no outgoing calls
no test coverage detected