lib/actions.js
function writeCommand (command, opts) {
    return {
      type: type,
      command: command,
      opts: opts,
      port: port
    }
  }
function writeCommand (command, opts) {
    return {
      type: type,
      command: command,
      opts: opts,
      port: port
    }
  }
function writeCommand ( command , opts ) { return { type : type , command : command , opts : opts , port : port } }
function that returns a write actions
@private
@param  {string} command
@param  {object} opts    move object
@return {object}         write action object
function that returns a write actions