Skip to content

Commit

Permalink
CLI: rename log -> logs (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
zampino authored Jan 24, 2024
1 parent bbdc9bf commit 77a019c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/nextjournal/garden_cli.clj
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@
projects)
(println message))))

(defn log [{:keys [opts]}]
(call-api (assoc opts :command "log" :as :stream)))
(defn logs [{:keys [opts]}]
(call-api (assoc opts :command "logs" :as :stream)))

(defn restart [{:keys [opts]}]
(call-api (assoc opts :command "restart" :as :stream)))
Expand Down Expand Up @@ -561,8 +561,8 @@
{:fn info,
:spec (merge default-spec project-spec) ,
:help "Show information about a project"},
"log"
{:fn log, :spec default-spec, :help "Show a project's log on stdout"},
"logs"
{:fn logs, :spec default-spec, :help "Show a project's log on stdout"},
"publish"
{:args->opts [:domain],
:fn publish,
Expand Down

0 comments on commit 77a019c

Please sign in to comment.