       )))
 
 (defn rm-note-
-  [& args]
-  (((current-todolist) :note-rm) (stri/join " " args)))
+  [joined-args]
+  (((current-todolist) :note-rm) joined-args))
 
 (def help
   {"remove" {"remove <str>" "remove todolist with the name of str"


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

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


  (:require [clojure.string :as stri]))

(defn remove-
  [joined-args]
  (let [current-todo (current-todolist)
        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)))
