def add_argument(self, action: argparse.Action) -> None:
        """Add an argument to the help formatter.

        Controls which arguments are displayed based on verbosity level and
        whether they are required for the current subcommand.

        Args:
            action: The argparse.Action object to potentially add to the help output.

        Example:
            >>> from argparse import Action, ArgumentParser
            >>> parser = ArgumentParser()
            >>> action = parser.add_argument('--test')
            >>> formatter = CustomHelpFormatter()
            >>> formatter.add_argument(action)
            >>> True  # Method completes without error
            True

        Note:
            - At verbosity level 0, no arguments are shown
            - At verbosity level 1, only required arguments are shown
            - At higher verbosity levels, all arguments are shown
        """
        if self.subcommand in REQUIRED_ARGUMENTS:
            if self.verbosity_level == 0:
                return
            if self.verbosity_level == 1 and action.dest not in REQUIRED_ARGUMENTS[self.subcommand]:
                return
        super().add_argument(action)
Add an argument to the help formatter.

        Controls which arguments are displayed based on verbosity level and
        whether they are required for the current subcommand.

        Args:
            action: The argparse.Action object to potentially add to the help output.

        Example:
            >>> from argparse import Action, ArgumentParser
            >>> parser = ArgumentParser()
            >>> action = parser.add_argument('--test')
            >>> formatter = CustomHelpFormatter()
            >>> formatter.add_argument(action)
            >>> True  # Method completes without error
            True

        Note:
            - At verbosity level 0, no arguments are shown
            - At verbosity level 1, only required arguments are shown
            - At higher verbosity levels, all arguments are shown
        
src/anomalib/cli/utils/help_formatter.py