code: function ( callback ) {
  		console.error( 'Getting %s logs since %s...', logType, start );
  
  		client.getLog( logType, start, function ( err, data, next ) {
  			const len = data && data.length;
  
  			client.log( 'Got %s log entries', len );
  
  			if ( len > 0 ) {
  				// it's our first batch of data - format CSV header
  				if ( start === '' ) {
  					writeCsvLine( Object.keys( data[ 0 ] ) );
  				}
  
  				// print rows
  				data.forEach( writeCsvLine );
  			}
  
  			// next time get next batch
  			start = next;
  			callback( next ? null : 'no more data' );
  		} );
  	}
docs: run as long as there's more data