+
+(defn run-task-in-cwd
+ "Run a bb task from this repository in the current working directory."
+ [task]
+ (let [current-dir (System/getenv "PWD")
+ babashka-scripts-dir (expand-home "~/dev/babashka-scripts/")]
+ (print (-> (process ["bb" task current-dir] {:dir babashka-scripts-dir})
+ :out
+ slurp))))