diff options
author | przemyslawpluta <przemekpluta@hotmail.com> | 2014-09-27 16:15:50 +0100 |
---|---|---|
committer | przemyslawpluta <przemekpluta@hotmail.com> | 2014-09-27 16:15:50 +0100 |
commit | d6dba5537953acfc489f214c56502c79d686f0e8 (patch) | |
tree | ecbf89656cc4ce8eeb7f079d9fce6c80307d867a /mongo-edu.js | |
parent | 8c67cd34fbc3501c9bd6b197b1e8b6ecf5c14d61 (diff) | |
download | mongo-edu-d6dba5537953acfc489f214c56502c79d686f0e8.zip |
update
readme
--help examples added
Diffstat (limited to 'mongo-edu.js')
-rw-r--r-- | mongo-edu.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mongo-edu.js b/mongo-edu.js index 49f9b24..b446f8e 100644 --- a/mongo-edu.js +++ b/mongo-edu.js @@ -19,7 +19,7 @@ var mdbvideos = require('./lib/login'), .describe('d', 'download path').describe('u', 'email address') .describe('h', 'switch from videos (default) to handouts').boolean('h') .describe('py', 'py switch').describe('py', 'switch to point to Python') - .describe('proxy', 'pass proxy').describe('proxy', 'proxy address') + .describe('proxy', 'pass proxy').describe('proxy', 'pass proxy switch for video download') .describe('test', 'proxy test').describe('test', 'use with --proxy to test if usable') .describe('cw', 'switch from wiki\'s video lists (default) to courseware').boolean('cw') .describe('cwd', 'same as --cw and dumps list of videos to file in -d').boolean('cwd') @@ -29,6 +29,12 @@ var mdbvideos = require('./lib/login'), .describe('uz', 'unzip handout files').boolean('uz') .describe('co', 'sequence video files in order of the courseware').boolean('co') .describe('verbose', 'print debug information').boolean('verbose') + .example('$0 -d your_download_path', 'download videos from wiki') + .example('$0 -d your_download_path -u your_user_name --cw --hq --cc', 'download high quality videos from courseware with closed caltions') + .example('$0 -d your_download_path -h --uz', 'download and unzip handouts') + .example('$0 -d your_download_path --cw --verbose', 'download videos from courseware and print debug info') + .example('$0 -d your_download_path --cw --proxy http://proxy_ip_address:proxy_port_number', 'download videos from courseware via proxy tunnel') + .example('$0 -d your_download_path --proxy http://proxy_ip_address:proxy_port_number --test', 'test proxy and download video via proxy tunnel') .demand('d'); exports.create = function start() { |