class_docstr: Click command class customized for BentoML CLI, allow specifying a default
  command for each group defined.
  
  This command groups will also introduce support for aliases for commands and groups.
  
  Example:
  
  .. code-block:: python
  
      @click.group(cls=BentoMLCommandGroup)
      def cli(): ...
  
      @click.group(name="cloud", aliases=["cloud"], cls=BentoMLCommandGroup)
      def cli(): ...
  
      @cli.command(aliases=["serve-http"])
      def serve(): ...
code: def __init__(self, *args: t.Any, **kwargs: t.Any) -> None:
      super(BentoMLCommandGroup, self).__init__(*args, **kwargs)
      # these two dictionaries will store known aliases for commands and groups
      self._commands: dict[str, list[str]] = {}
      self._aliases: dict[str, str] = {}
  
imports: from __future__ import annotations
  import difflib
  import functools
  import logging
  import os
  import re
  import time
  import typing
  import attr
  import click
  import click_option_group
  from click import ClickException
  from click.exceptions import UsageError
label_desc: Use image node_id 4 to create a new BentoMLCommandGroup object from inherited base classes: click with example: obj = BentoMLCommandGroup()