code: def run_command(cmd, debug=False):
      
      if debug:
          msg = '  PWD: {}'.format(os.getcwd())
          print_warn(msg)
          msg = '  COMMAND: {}'.format(cmd)
          print_warn(msg)
      cmd()
docs: Execute the given command and return None.
  
      :param cmd: A `sh.Command` object to execute.
      :param debug: An optional bool to toggle debug output.
      :return: None