 - shouldUploadLogs
 ###
 module.exports = (docker, logger, token, username, url, opts) ->
-	_ = require('lodash')
 	tmp = require('tmp')
 	tmpNameAsync = Promise.promisify(tmp.tmpName)
 

		streamUtils.buffer(imageStream, bufferFile)
		.tap (bufferedStream) ->
			bufferedStream.length = imageSize

getSpinner = (message) ->
	visuals = require('resin-cli-visuals')
	return new visuals.Spinner(message)

showPushProgress = (message) ->
	visuals = require('resin-cli-visuals')

	args = querystring.stringify({ owner, app, buildId })
	"https://builder.#{baseUrl}/v1/pushLogs?#{args}"

bufferImage = (docker, imageId, bufferFile) ->
	Promise = require('bluebird')
	streamUtils = require('./streams')
