def add_usage(self, usage: str | None, actions: list, *args, **kwargs) -> None:
        """Add usage information to the formatter.

        Filters the actions shown in the usage section based on verbosity level
        and required arguments for the current subcommand.

        Args:
            usage: A string describing the usage of the program.
            actions: A list of argparse.Action objects.
            *args: Additional positional arguments passed to parent method.
            **kwargs: Additional keyword arguments passed to parent method.

        Example:
            >>> formatter = CustomHelpFormatter()
            >>> formatter.add_usage("usage:", [], groups=[])
            >>> True  # Method completes without error
            True
        """
        if self.subcommand in REQUIRED_ARGUMENTS:
            if self.verbosity_level == 0:
                actions = []
            elif self.verbosity_level == 1:
                actions = [action for action in actions if action.dest in REQUIRED_ARGUMENTS[self.subcommand]]

        super().add_usage(usage, actions, *args, **kwargs)
Add usage information to the formatter.

        Filters the actions shown in the usage section based on verbosity level
        and required arguments for the current subcommand.

        Args:
            usage: A string describing the usage of the program.
            actions: A list of argparse.Action objects.
            *args: Additional positional arguments passed to parent method.
            **kwargs: Additional keyword arguments passed to parent method.

        Example:
            >>> formatter = CustomHelpFormatter()
            >>> formatter.add_usage("usage:", [], groups=[])
            >>> True  # Method completes without error
            True
        
src/anomalib/cli/utils/help_formatter.py