add delete command
This commit is contained in:
parent
f2e435b777
commit
53acc339b3
3 changed files with 43 additions and 4 deletions
|
|
@ -1,10 +1,11 @@
|
|||
(ns cli-cms.main
|
||||
(:require
|
||||
[cli-cms.create :as create]
|
||||
[babashka.http-client :as http]))
|
||||
[cli-cms.delete :as delete]))
|
||||
|
||||
(defn -main [& args]
|
||||
(case (first args)
|
||||
"create" (create/run)
|
||||
"delete" (delete/run)
|
||||
"edit" (println "TODO: implment edit snippet")
|
||||
(println "Missing command. Try 'create' or 'edit'.")))
|
||||
(println "Missing command. Try create, edit, or delete.")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue