loader = (context, name, args) ->
context[name] = (cb) =>
context.ssh.command args, (result) =>
context.libs.logger name, args, result
cb resultThis adds commands into the instance so that the ssh client can execute them
@context {Object}
@name {String}
@args {String}
loader = (context, name, args) ->
context[name] = (cb) =>
context.ssh.command args, (result) =>
context.libs.logger name, args, result
cb resultattach = (libs) ->
libs.loader = loaderExpose the attach function
module.exports = attach