def format_help(self) -> str:
        """Format the complete help message.

        Generates a formatted help message that includes command arguments, options,
        and additional guide information based on the current verbosity level.

        Returns:
            str: The formatted help message as a string.

        Example:
            >>> formatter = CustomHelpFormatter()
            >>> help_text = formatter.format_help()
            >>> isinstance(help_text, str)
            True

        Note:
            The output format depends on verbosity level:
            - Level 0-1: Shows quick-start guide for supported subcommands
            - Level 1+: Includes argument section in a panel
            - All levels: Maintains consistent spacing and formatting
        """
        with self.console.capture() as capture:
            section = self._root_section
            if self.subcommand in REQUIRED_ARGUMENTS and self.verbosity_level in {0, 1} and len(section.rich_items) > 1:
                contents = render_guide(self.subcommand)
                for content in contents:
                    self.console.print(content)
            if self.verbosity_level > 0:
                if len(section.rich_items) > 1:
                    section = Panel(section, border_style="dim", title="Arguments", title_align="left")
                self.console.print(section, highlight=False, soft_wrap=True)
        help_msg = capture.get()

        if help_msg:
            help_msg = self._long_break_matcher.sub("\n\n", help_msg).rstrip() + "\n"
        return help_msg
Format the complete help message.

        Generates a formatted help message that includes command arguments, options,
        and additional guide information based on the current verbosity level.

        Returns:
            str: The formatted help message as a string.

        Example:
            >>> formatter = CustomHelpFormatter()
            >>> help_text = formatter.format_help()
            >>> isinstance(help_text, str)
            True

        Note:
            The output format depends on verbosity level:
            - Level 0-1: Shows quick-start guide for supported subcommands
            - Level 1+: Includes argument section in a panel
            - All levels: Maintains consistent spacing and formatting
        
src/anomalib/cli/utils/help_formatter.py