code: def bracket_print(msg, color='', width=8, file=sys.stdout):
    
    if CLI_QUIET:
      return
    lpad = int(math.ceil((width - 2 - _printed_len(msg)) / 2.0)) * ' '
    rpad = int(math.floor((width - 2 - _printed_len(msg)) / 2.0)) * ' '
    file.write('[{lpad}{bright}{color}{msg}{reset}{rpad}]'.format(
        lpad=lpad, bright=colorama.Style.BRIGHT, color=color, msg=msg,
        reset=colorama.Style.RESET_ALL, rpad=rpad))
    file.write(colorama.Style.RESET_ALL)
    file.write(_linesep_for_file(file))
    file.flush()
docs: Prints the message in brackets in the specified color and end the line.
  
    Args:
      msg: The message to put inside the brackets (a brief status message).
      color: Optional colorama color string to be applied to the message. You can
          concatenate colorama color strings together in order to get any set of
          effects you want.
      width: Total desired width of the bracketed message.
      file: A file object to which the bracketed text will be written. Intended
          for use with CLI output file objects like sys.stdout.