#!/usr/bin/env coffee

path = require 'path'
CommandInstaller = require '../src/command-installer'

callback = (error, sourcePath, destinationPath) ->
  unless error?
    console.log "#{sourcePath} intalled to #{destinationPath}"

CommandInstaller.installAtomCommand(path.resolve(__dirname, '..'), callback)
CommandInstaller.installApmCommand(path.resolve(__dirname, '..'), callback)
