Skip to content

Commit

Permalink
Merge branch 'master' into nl/add-output-flag-for-services-list
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolubbe authored Jul 24, 2024
2 parents 2646094 + fc9d1fb commit dd97b61
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/k16/kl/commands/containers.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
:description "Select containers to run"

:opts [{:option "module"
:short 0
:short "m"
:type :string}]

:runs (fn [props]
Expand All @@ -43,7 +43,7 @@
:description "Select containers to run"

:opts [{:option "module"
:short 0
:short "m"
:type :string}]

:runs (fn [props]
Expand Down Expand Up @@ -90,7 +90,7 @@
:description "Stop all running containers "

:opts [{:option "module"
:short 0
:short "m"
:type :string}]

:runs (fn [props]
Expand Down
3 changes: 2 additions & 1 deletion src/k16/kl/commands/endpoints.clj
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@
:description "List all endpoints"

:opts [{:option "module"
:short 0
:short "m"
:type :string}

{:option "service"
:short 0
:type :string}]

:runs list-endpoints}]})
6 changes: 4 additions & 2 deletions src/k16/kl/commands/modules.clj
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@
:description "Pull down changes to a module"

:opts [{:option "module"
:short 0
:short "m"
:type :string}

{:option "update"
:default false
:short 0
:type :with-flag}]

:runs pull!}
Expand All @@ -46,11 +47,12 @@
:description "Resolve the latest sha's of a module. This is the same as `pull --update`"

:opts [{:option "module"
:short 0
:short "m"
:type :string}

{:option "force"
:default false
:short 0
:type :with-flag}]

:runs (fn [props]
Expand Down
4 changes: 2 additions & 2 deletions src/k16/kl/commands/routes.clj
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
:description "List all routes"

:opts [{:option "module"
:short 0
:short "m"
:type :string}

{:option "output"
Expand All @@ -105,7 +105,7 @@
:description "Apply any route changes"

:opts [{:option "module"
:short 0
:short "m"
:type :string}]

:runs apply-routes!}]})
2 changes: 1 addition & 1 deletion src/k16/kl/commands/services.clj
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
:default "table"
:type :string},
{:option "module"
:short 0
:short "m"
:type :string}]

:runs list-services}
Expand Down

0 comments on commit dd97b61

Please sign in to comment.