def remove_plan(self, name: str):
    'Removes a plan by name'
    if (not name):
        _exit_if_errors(['--name is required'])
    (_, errors) = self.rest.delete_backup_plan(name)
    _exit_if_errors(errors)
    _success('Plan removed')
Removes a plan by name
def remove_plan(self, name: str):
    
    if (not name):
        _exit_if_errors(['--name is required'])
    (_, errors) = self.rest.delete_backup_plan(name)
    _exit_if_errors(errors)
    _success('Plan removed')