       {:status :success :msg "* Change has been transfered successfully to your remote repository"}
       {:status :failed :msg (str "* Transfer per SSH failed in: " failed-steps)})))
 
-(defn find-asset-paths [project]
-  (->> (concat (:source-paths project ["src"])
-               (:resource-paths project ["resources"])
-               (:test-paths project ["test"]))
-       (vec)))
-
-;;;; Main
-
-(def TRANSFER-STEPS [create-patch! upload-patch! apply-patch!])
-(def WAIT-TIME 500)
+;;; MAIN
 
 (defn sync-code-change
   ([console session dirs parameters]

(defn start-remote-routine [session asset-paths parameters]
  (let [console (async/chan)]
    (future (sync-code-change console session asset-paths parameters))
    (future (log-console console))
    (run-command-and-forward-port session parameters)))

(defn session-option [parameters with-system-agent?]

    (with-open [rdr (io/reader output)]
      (doseq [line (line-seq rdr)] (m/info line)))))

(defn log [console]
  (while true
    (let [{msg :msg} (async/<!! console)]
      (m/info "\n" msg "\n")
