iREADME.md: Add two real examples for upload and download subcommands - transferwee - Download/upload file via wetransfer.com Err tccr.it 70 hgit clone https://github.com/iamleot/transferwee URL:https://github.com/iamleot/transferwee tccr.it 70 1Log /r/transferwee/log.gph tccr.it 70 1Files /r/transferwee/files.gph tccr.it 70 1Refs /r/transferwee/refs.gph tccr.it 70 1README /r/transferwee/file/README.md.gph tccr.it 70 i--- Err tccr.it 70 1commit 2afafc85334038e6c1b9e6ef8996be58cebed601 /r/transferwee/commit/2afafc85334038e6c1b9e6ef8996be58cebed601.gph tccr.it 70 1parent d6c2f12ba0e84b963b1528bf061579665aee00a5 /r/transferwee/commit/d6c2f12ba0e84b963b1528bf061579665aee00a5.gph tccr.it 70 hAuthor: Leonardo Taccari URL:mailto:iamleot@gmail.com tccr.it 70 iDate: Mon, 4 Jun 2018 10:32:41 +0200 Err tccr.it 70 i Err tccr.it 70 iREADME.md: Add two real examples for upload and download subcommands Err tccr.it 70 i Err tccr.it 70 iDiffstat: Err tccr.it 70 i M README.md | 22 ++++++++++++++++++++++ Err tccr.it 70 i Err tccr.it 70 i1 file changed, 22 insertions(+), 0 deletions(-) Err tccr.it 70 i--- Err tccr.it 70 1diff --git a/README.md b/README.md /r/transferwee/file/README.md.gph tccr.it 70 i@@ -46,6 +46,16 @@ optional arguments: Err tccr.it 70 i -t to [to ...] recipient emails Err tccr.it 70 i ``` Err tccr.it 70 i Err tccr.it 70 i+The following example creates an `hello` text file with just `Hello world!` and Err tccr.it 70 i+then upload it with the message passed via `-m` option: Err tccr.it 70 i+ Err tccr.it 70 i+``` Err tccr.it 70 i+% echo 'Hello world!' > hello Err tccr.it 70 i+% md5 hello Err tccr.it 70 i+MD5 (hello) = 59ca0efa9f5633cb0371bbc0355478d8 Err tccr.it 70 i+% transferwee upload -m 'Just a text file with the mandatory message...' hello Err tccr.it 70 i+https://we.tl/o8mGUXnxyZ Err tccr.it 70 i+``` Err tccr.it 70 i Err tccr.it 70 i ### Download file Err tccr.it 70 i Err tccr.it 70 i@@ -79,6 +89,18 @@ optional arguments: Err tccr.it 70 i -g only print the direct link (without downloading it) Err tccr.it 70 i ``` Err tccr.it 70 i Err tccr.it 70 i+The following example download the `hello` text file that was uploaded in the Err tccr.it 70 i+previous example for `upload` subcommand. Please note that if any file with the Err tccr.it 70 i+same name already exists it will be overwritten!: Err tccr.it 70 i+ Err tccr.it 70 i+``` Err tccr.it 70 i+% transferwee download https://we.tl/o8mGUXnxyZ Err tccr.it 70 i+% cat hello Err tccr.it 70 i+Hello world! Err tccr.it 70 i+% md5 hello Err tccr.it 70 i+MD5 (hello) = 59ca0efa9f5633cb0371bbc0355478d8 Err tccr.it 70 i+``` Err tccr.it 70 i+ Err tccr.it 70 i ## Dependencies Err tccr.it 70 i Err tccr.it 70 i transferwee needs [requests](http://python-requests.org/) package. Err tccr.it 70 .