code: def settings(epilog=None, help=None, width=140, **attrs):
      
      if epilog is None:
          epilog = _get_caller_doc()
  
      if help is None:
          help = ["-h", "--help"]
  
      context_settings = attrs.pop("context_settings", {})
      context_settings["help_option_names"] = flattened(help, split=" ")
      context_settings["max_content_width"] = width
  
      return dict(
          epilog=epilog,
          context_settings=context_settings,
          **attrs
      )
docs: Args:
          epilog (str | unicode | None): Help epilog, defaults to __doc__ of caller module
          help (list[str | unicode] | str | unicode | None): List of flags to show help, default: -h and --help
          width (int): Constrain help to
          **attrs:
  
      Returns:
          dict: Dict passable to @click.command() or @click.group()