   (:require [clojure.string :as stri]))
 
 (defn remove-
-  [& args]
+  [joined-args]
   (let [current-todo (current-todolist)
-        joined-args (stri/join " " args)
         m (find-todo-by-name ((current-todo :todos)) joined-args)]
     (if (and m (= "yes" (inp/user-str-input
                           (format "Are you sure to delete \"%s\"? (yes/no) " ((m :name)))


(defn run-cmd
  [cmd & args]
  (cond
    (= cmd "remove")
    (apply remove- args)

    (= cmd "rm-note")
    (apply rm-note- args)
    ))


      )))

(defn rm-note-
  [joined-args]
  (((current-todolist) :note-rm) joined-args))

(def help
  {"remove" {"remove <str>" "remove todolist with the name of str"
