def list(search)
      @config.transaction do
        integrations = @config.integrations.dup
        unless search.nil?
          integrations.select! do |intg|
            intg.name.downcase.include? search.downcase
          end
        end
        puts 'No integrations found' if integrations.empty?
        integrations.each { |intg| show_integration intg }
      end
    end
def list(search)
      @config.transaction do
        integrations = @config.integrations.dup
        unless search.nil?
          integrations.select! do |intg|
            intg.name.downcase.include? search.downcase
          end
        end
        puts 'No integrations found' if integrations.empty?
        integrations.each { |intg| show_integration intg }
      end
    end
Lists all integrations, or integrations with names containing the given
 search term.

 @param search [String, nil] an optional search term