Comparing version 0.20.1-dev.20170916.192340 to 0.20.1
@@ -23,3 +23,3 @@ 'use strict'; | ||
var parseOpts = function parseOpts(opts) { | ||
return _.pick(opts, 'project', 'spec', 'reporter', 'reporterOptions', 'path', 'destination', 'port', 'env', 'cypressVersion', 'config', 'record', 'key', 'browser', 'detached'); | ||
return _.pick(opts, 'project', 'spec', 'reporter', 'reporterOptions', 'path', 'destination', 'port', 'env', 'cypressVersion', 'config', 'record', 'key', 'browser', 'detached', 'headed'); | ||
}; | ||
@@ -39,3 +39,4 @@ | ||
project: 'path to the project', | ||
version: 'Prints Cypress version' | ||
version: 'Prints Cypress version', | ||
headed: 'displays the Electron browser instead of running headlessly' | ||
}; | ||
@@ -79,3 +80,3 @@ | ||
program.command('run').usage('[options]').description('Runs Cypress tests from the CLI without the GUI').option('--record [bool]', text('record'), coerceFalse).option('-k, --key <record-key>', text('key')).option('-s, --spec <spec>', text('spec')).option('-r, --reporter <reporter>', text('reporter')).option('-o, --reporter-options <reporter-options>', text('reporterOptions')).option('-p, --port <port>', text('port')).option('-e, --env <env>', text('env')).option('-c, --config <config>', text('config')).option('-b, --browser <browser-name>', text('browser')).option('-P, --project <project-path>', text('project')).action(function (opts) { | ||
program.command('run').usage('[options]').description('Runs Cypress tests from the CLI without the GUI').option('--record [bool]', text('record'), coerceFalse).option('--headed', text('headed')).option('-k, --key <record-key>', text('key')).option('-s, --spec <spec>', text('spec')).option('-r, --reporter <reporter>', text('reporter')).option('-o, --reporter-options <reporter-options>', text('reporterOptions')).option('-p, --port <port>', text('port')).option('-e, --env <env>', text('env')).option('-c, --config <config>', text('config')).option('-b, --browser <browser-name>', text('browser')).option('-P, --project <project-path>', text('project')).action(function (opts) { | ||
var parsedOptions = parseOpts(opts); | ||
@@ -82,0 +83,0 @@ if (parsedOptions.project) { |
@@ -72,2 +72,6 @@ 'use strict'; | ||
if (options.headed) { | ||
args.push('--headed', options.headed); | ||
} | ||
return args; | ||
@@ -74,0 +78,0 @@ }; |
{ | ||
"name": "cypress", | ||
"version": "0.20.1-dev.20170916.192340", | ||
"version": "0.20.1", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "bin": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53777
1250