streams is for tasks, not teams.
Thus, one way is to create a TaskKey "holder" and get a stream from it, for example sbt-pgp creates and uses pgpCmdContext - see the definition of pgp-cmd .
Another way is to use sLog , but I'm not sure if sLog should be used sLog :
val myCommand = Command.single("myCommand") { case (s, arg) => val extracted = Project extract s val log = extracted get sLog log info "Some logging" currentState }
source share