Some styling for menus
This commit is contained in:
@@ -82,13 +82,13 @@ def get_script_url(public_url, share, end_point, token = "[TOKEN]"):
|
||||
)
|
||||
if end_point in ( "download", "direct"):
|
||||
cmd = 'curl -s %s | bash /dev/stdin [-f]'%( url, )
|
||||
doc = 'Download all files in the share.'
|
||||
doc = 'Download all files in the share. -f to force overwrite existing files.'
|
||||
if end_point == "client":
|
||||
cmd = 'python <( curl -s %s )'%( url, )
|
||||
doc = 'Console client to download and upload files.'
|
||||
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.'
|
||||
doc = 'Upload files to the share. -s to set splitting size.'
|
||||
return {'cmd': cmd, 'doc': doc}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user