#!/usr/bin/env python3 # SPDX-FileCopyrightText: 2022 LEdoian # SPDX-License-Identifier: WTFPL from checklib import Check, Result class MyCheck(Check): def check(self): self.result = Result.UNKNOWN self.short_status = 'I don\'t know :-)' def add_arguments(self): pass # Collect argparse arguments at self.arguments # If defining __init__, call super().__init__ first -- it populates # self.result, self.argumentparser and so on. if __name__ == '__main__': MyCheck.run()