Created
February 5, 2016 10:51
-
-
Save mocyuto/c346b80138b561314402 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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