           Stagehand.showProjectTemplates().then (projectTemplate) =>
             Stagehand.generate(projectTemplate)
 
+  onBoot: (callback) =>
+    @emitter.on 'boot', callback
+
   dispose: =>
     @subscriptions?.dispose()
     @analysisComponent?.disable()

      Utils.dartSdkInfo (sdkInfo) =>
        @sdkInfo.showInfo(sdkInfo)

  registerGlobalCommands: =>
    Stagehand = require './stagehand/stagehand'
    atom.commands.add 'atom-workspace', 'dart-tools:stagehand', =>

{CompositeDisposable} = require 'atom'
{Emitter} = require 'event-kit'
Utils = require './utils'
AutoCompletePlusProvider = require './autocomplete/provider'
_ = require 'lodash'
