using the "--help" param
This commit is contained in:
parent
25667d883d
commit
75d33abe8a
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
(defn load-config [path]
|
||||
(info "loading config from" path)
|
||||
(if (:help (mount/args))
|
||||
(info "\n\nthis is a sample mount app to demo how to pass and read runtime arguments\n"))
|
||||
(-> path
|
||||
slurp
|
||||
edn/read-string))
|
||||
|
|
|
|||
Loading…
Reference in a new issue