get edit command started with snippet select and editing
This commit is contained in:
parent
c4ff9a86b6
commit
e71062bb87
4 changed files with 50 additions and 7 deletions
|
|
@ -1,11 +1,12 @@
|
|||
(ns cli-cms.main
|
||||
(:require
|
||||
[cli-cms.create :as create]
|
||||
[cli-cms.edit :as edit]
|
||||
[cli-cms.delete :as delete]))
|
||||
|
||||
(defn -main [& args]
|
||||
(case (first args)
|
||||
"create" (create/run)
|
||||
"delete" (delete/run)
|
||||
"edit" (println "TODO: implment edit snippet")
|
||||
"edit" (edit/run)
|
||||
(println "Missing command. Try create, edit, or delete.")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue