We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02f5ad1 commit 5b14fdfCopy full SHA for 5b14fdf
resources/VERSION
@@ -1 +1 @@
1
-0.1.6
+0.1.7
src/nextjournal/garden_cli.clj
@@ -280,7 +280,11 @@
280
(call-api (assoc opts :command "logs" :as :stream)))
281
282
(defn restart [{:keys [opts]}]
283
- (call-api (assoc opts :command "restart" :as :stream)))
+ (let [working-dir (path-from-git-root-parent)]
284
+ (call-api (-> opts
285
+ (assoc :command "restart" :as :stream)
286
+ (cond-> working-dir
287
+ (assoc :working-dir working-dir))))))
288
289
(defn stop [m]
290
(let [{:keys [ok message]} (call-api (merge {:command "stop"} (:opts m)))]
0 commit comments