Created
October 28, 2016 21:54
-
-
Save hlship/4bdbbcf362162bbc4ac97672def54b81 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(ns example.tasks | |
(:require | |
[boot.core :refer :all] | |
[boot.util :refer [info]])) | |
(deftask hello | |
"Prints a greeting." | |
[g greeting GREETING str "Greeting to use." | |
n name NAME str "name to greet."] | |
(with-pass-thru _ | |
(info "%s, %s\n" greeting name))) | |
(task-options! hello {:greeting "Hello" :name "Howard"}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment