     options.usage """
 
       Usage: apm upgrade
+             apm upgrade --list
 
       Upgrade out of date packages installed to ~/.atom/packages
 


module.exports =
class Upgrade extends Command
  @commandNames: ['upgrade']

  constructor: ->
    @atomDirectory = config.getAtomDirectory()

      tree updates, ({pack, latestVersion}) ->
        "#{pack.name.yellow} #{pack.version.red} -> #{latestVersion.green}"

      return callback() if options.command is 'outdated'
      return callback() if options.argv.list
      return callback() if updates.length is 0

