code: func NewHistoryFormat(source string, quiet bool, human bool) formatter.Format {
  	switch source {
  	case formatter.TableFormatKey:
  		switch {
  		case quiet:
  			return formatter.DefaultQuietFormat
  		case !human:
  			return nonHumanHistoryTableFormat
  		default:
  			return defaultHistoryTableFormat
  		}
  	}
  
  	return formatter.Format(source)
  }
docs: // NewHistoryFormat returns a format for rendering an HistoryContext