         console.log()
         console.log "Use `apm install` to install them or visit #{'http://atom.io/packages'.underline} to read more about them."
         console.log()
-
-      callback()
+        callback()

  run: (options) ->
    {callback} = options
    options = @parseOptions(options.commandArgs)

    user = options.argv.user?.toString().trim()

    @getStarredPackages user, (error, packages) ->
      if error?
        callback(error)
        return

      if options.argv.themes
        packages = packages.filter ({theme}) -> theme

      if options.argv.json
        console.log(JSON.stringify(packages))
      else
        if options.argv.themes
          label = "Themes starred by #{user}"

optimist = require 'optimist'

Command = require './command'
Install = require './install'
config = require './config'
request = require './request'
tree = require './tree'
