Skip to content

Instantly share code, notes, and snippets.

@mocyuto
Created February 5, 2016 10:51
Show Gist options
  • Save mocyuto/c346b80138b561314402 to your computer and use it in GitHub Desktop.
Save mocyuto/c346b80138b561314402 to your computer and use it in GitHub Desktop.
lazy val hello = inputKey[Unit]("say hello to you")
import complete.DefaultParsers._
lazy val root = (project in file("."))
.settings(
hello := {
val args: Seq[String] = spaceDelimited("<arg>").parsed
println(args)
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment