conch
conch copied to clipboard
Possible to let-bind without macros?`(let [ls (sh/program "ls")] (ls))`
I found the conch macros to have high cognitive overhead. For fear of side-effects, I went and glossed over let-programs first before trying it.
It would be nice if conch could return a lazy program via let that did path resolution at run-time, perhaps with existence (and permission) checking at definition time. E.g.:
(require '[me.raynes.conch :as sh])
(let [docker (sh/program "docker")]
(docker "build" "more args go here"))
I believe this would satisfy 99% of use-cases and would make Conch more approachable :).