Add the action-type to distinguish the actions.

This commit is contained in:
2023-09-16 22:05:53 +03:00
parent 5ca5765e01
commit 6d282e5ad4
2 changed files with 12 additions and 8 deletions
+2 -2
View File
@@ -5,8 +5,8 @@
(defn -main
[& args]
(let [{:keys [options arguments exit-message ok?]} (cli/validate-args args)]
(let [{:keys [options arguments action-type exit-message ok?]} (cli/validate-args args)]
(if exit-message
(cli/exit exit-message ok?)
(cli/actions options arguments))))
(cli/actions options arguments action-type))))