ywangd/stash — pull request #31 by briarfox (2014-12-27 08:05:49+00:00)
Title: Added a pythonista put,get,edit command

Added the ability to put, get and edit on an ssh session. Edit is a quick fix to overcome the lack of nano/vim. Currently the remote file requires the full path from the user directory. I am unsure how to get around this. paramiko sftp does not use a current working directory. paramiko does emulate a path, but that would require keeping track of the users actions. Currently that would prove rather difficult. I'll see if I can send a pwd to stdin and parse the output.

Could we add this in as an alpha feature?

Once connected to an SSH session type pythonista [ get | put | edit ] file1 [file2]
I used pythonista as to not conflict with any normal bash calls.