Two different approaches I guess. What I meant was like this:
https://github.com/typesafehub/activator/blob/master/ui/app/console/ConsolePlugin.scala#L18