       {:step :apply-patch :status :success}
       {:step :apply-patch :status :failed :error (:err result-apply-patch)})))
 
-;;; Transfer logic
+;;; TRANSFER LOGIC
+
+(def TRANSFER-STEPS [create-patch! upload-patch! apply-patch!])
+(def WAIT-TIME 500)
 
 (defn transfer-per-ssh [parameters session run-steps]
   (let [failed-steps (->> run-steps

      {: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)

(defn sync-code-change
  ([console session dirs parameters]

      (merge default-option {:password (get-in parameters [:auth :password])}))))

(defn create-session [parameters]
  (m/info "\n* Starting with the parameters:" (assoc-in parameters [:auth :password] "***"))
  (let [with-system-agent? (get-in parameters [:auth :with-system-agent])
        agent (ssh/ssh-agent {:use-system-ssh-agent with-system-agent?})
        session-params (session-option parameters with-system-agent?)
