def list_plans(self, json_output: bool=False):
    'Prints all the plans stored in the backup service\n\n        Args:\n            json_output (bool): Whether to print in JSON or a more human friendly way\n        '
    (plans, errors) = self.rest.list_backup_plans()
    _exit_if_errors(errors)
    if json_output:
        print(json.dumps(plans, indent=2))
    else:
        self.human_print_plans(plans)
Prints all the plans stored in the backup service

Args:
    json_output (bool): Whether to print in JSON or a more human friendly way
def list_plans(self, json_output: bool=False):
    'Prints all the plans stored in the backup service\n\n        Args:\n            json_output (bool): Whether to print in JSON or a more human friendly way\n        '
    (plans, errors) = self.rest.list_backup_plans()
    _exit_if_errors(errors)
    if json_output:
        print(json.dumps(plans, indent=2))
    else:
        self.human_print_plans(plans)