tools/upload: fix +upload/browse & add docstrings
This commit is contained in:
parent
e659ab0609
commit
e6f58d3714
1 changed files with 10 additions and 11 deletions
|
@ -1,34 +1,33 @@
|
|||
;;; tools/upload/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +upload/local (&optional force-p)
|
||||
"TODO"
|
||||
(interactive)
|
||||
(defun +upload/put-file (&optional force-p)
|
||||
"Upload the current buffer's file to the configured remote."
|
||||
(interactive "P")
|
||||
(if force-p
|
||||
(ssh-deploy-upload-handler-forced)
|
||||
(ssh-deploy-upload-handler)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +upload/remote-download ()
|
||||
"TODO"
|
||||
(defun +upload/get-file ()
|
||||
"Download the current buffer's file from the configured remote."
|
||||
(interactive)
|
||||
(ssh-deploy-download-handler))
|
||||
|
||||
;;;###autoload
|
||||
(defun +upload/diff ()
|
||||
"TODO"
|
||||
(defun +upload/diff-file ()
|
||||
"Open a diff of the local file against the remote."
|
||||
(interactive)
|
||||
(ssh-deploy-diff-handler))
|
||||
|
||||
;;;###autoload
|
||||
(defun +upload/browse ()
|
||||
"TODO"
|
||||
"Browse the remote directory mapped to this file's directory."
|
||||
(interactive)
|
||||
(ssh-deploy-browse-remove-handler))
|
||||
(ssh-deploy-browse-remote-handler))
|
||||
|
||||
;;;###autoload
|
||||
(defun +upload/check-remote ()
|
||||
"TODO"
|
||||
"Check if local file exists or if the remote file has changed."
|
||||
(interactive)
|
||||
(ssh-deploy-remote-changes-handler))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue