add delete command

This commit is contained in:
Travis Shears 2025-06-08 20:35:06 +02:00
parent f2e435b777
commit 53acc339b3
3 changed files with 43 additions and 4 deletions

View file

@ -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.")))