Github user dblotsky commented on a diff in the pull request:

    https://github.com/apache/cordova-paramedic/pull/1#discussion_r57432822
  
    --- Diff: main.js ---
    @@ -1,43 +1,51 @@
     #!/usr/bin/env node
     
     var parseArgs = require('minimist'),
    -    paramedic = require('./paramedic');
    -
    -var plugins,
    -    platformId;
    +    path = require('path'),
    +    paramedic = require('./lib/paramedic'),
    +    ParamedicConfig = require('./lib/ParamedicConfig');
     
     var USAGE = "Error missing args. \n" +
    -   "cordova-paramedic --platform PLATFORM --plugin PATH [--justbuild 
--timeout MSECS --port PORTNUM --browserify]\n" +
    -   "`PLATFORM` : the platform id, currently only supports 'ios'\n" +
    -   "`PATH` : the relative or absolute path to a plugin folder\n" +
    -                                   "\texpected to have a 'tests' 
folder.\n" +  
    -                                   "\tYou may specify multiple --plugin 
flags and they will all\n" + 
    -                                   "\tbe installed and tested together.\n" 
+
    -   "`MSECS` : (optional) time in millisecs to wait for tests to pass|fail 
\n" +
    -                     "\t(defaults to 10 minutes) \n" +
    -   "`PORTNUM` : (optional) port to use for posting results from emulator 
back to paramedic server\n" +
    -   "--justbuild : (optional) just builds the project, without running the 
tests \n" +
    +    "cordova-paramedic --platform PLATFORM --plugin PATH [--justbuild 
--timeout MSECS --startport PORTNUM --endport PORTNUM --browserify]\n" +
    +    "`PLATFORM` : the platform id. Currently supports 'ios', 'browser', 
'windows', 'android', 'wp8'.\n" +
    +                    "\tPath to platform can be specified as link to git 
repo like:\n" +
    +                    
"\twindows@https://github.com/apache/cordova-windows.git\n"; +
    +                    "\tor path to local copied git repo like:\n" +
    +                    "\twindows@../cordova-windows/\n" +
    +    "`PATH` : the relative or absolute path to a plugin folder\n" +
    +                    "\texpected to have a 'tests' folder.\n" +
    +                    "\tYou may specify multiple --plugin flags and they 
will all\n" +
    +                    "\tbe installed and tested together.\n" +
    +    "`MSECS` : (optional) time in millisecs to wait for tests to pass|fail 
\n" +
    +              "\t(defaults to 10 minutes) \n" +
    +    "`PORTNUM` : (optional) ports to find available and use for posting 
results from emulator back to paramedic server(default is from 8008 to 8009)\n" 
+
    +    "--justbuild : (optional) just builds the project, without running the 
tests \n" +
         "--browserify : (optional) plugins are browserified into cordova.js 
\n" +
         "--verbose : (optional) verbose mode. Display more information 
output\n" +
    -    "--platformPath : (optional) path to install platform from, git or 
local file uri";
    +    "--useTunnel : use tunneling instead of local address. default is 
false\n" +
    +    "--reportSavePath: (optional) path to save Junit results file\n" +
    +    "--cleanUpAfterRun: (optional) cleans up the application after the 
run."
    --- End diff --
    
    Please add the docs for the `--config` flag.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to