new pasteboard idea

This commit is contained in:
2018-08-20 20:43:55 +03:00
parent c004c75f75
commit f4a23ad08c
5 changed files with 259 additions and 4 deletions

View File

@@ -121,6 +121,9 @@ def get_script_url(public_url, share, end_point, token = "[TOKEN]"):
if end_point == "upload_split":
cmd = 'curl -s %s | python - [-s split_size_in_Mb] file_to_upload.ext [second.file.ext]'%( url, )
doc = 'Upload files to the share. -s to set splitting size.'
if end_point == "flip":
cmd = 'curl -s %s > flip && ./flip'%( url, )
doc = 'Use the share as a command line clipboard'
return {'cmd': cmd, 'doc': doc}