@doctolib/argos-cli
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -102,3 +102,6 @@ 'use strict'; | ||
commit: env.HEROKU_TEST_RUN_COMMIT_VERSION, | ||
branch: env.HEROKU_TEST_RUN_BRANCH | ||
branch: env.HEROKU_TEST_RUN_BRANCH, | ||
buildId: env.HEROKU_TEST_RUN_ID, | ||
batchId: env.CI_NODE_INDEX, | ||
batchTotal: env.CI_NODE_TOTAL | ||
}; | ||
@@ -105,0 +108,0 @@ } |
@@ -46,3 +46,3 @@ 'use strict'; | ||
_commander2.default.version(_package2.default.version).command('upload <directory>').description('Upload screenshots').option('-C, --commit <commit>', 'Git commit').option('-B, --branch <branch>', 'Git branch').option('-T, --token <token>', 'Repository token').option('--batchId [string]', '(Optional) ID of the batch').option('--batchTotal [int]', '(Optional) Total number of batches', parseInt).option('--ignore <list>', 'List of glob files to ignore (ex: "**/*.png,**/diff.jpg")', list).action((() => { | ||
_commander2.default.version(_package2.default.version).command('upload <directory>').description('Upload screenshots').option('-C, --commit <commit>', 'Git commit').option('-B, --branch <branch>', 'Git branch').option('-T, --token <token>', 'Repository token').option('--buildId [string]', '(Optional) ID of the build').option('--batchId [string]', '(Optional) ID of the batch').option('--batchTotal [int]', '(Optional) Total number of batches', parseInt).option('--ignore <list>', 'List of glob files to ignore (ex: "**/*.png,**/diff.jpg")', list).action((() => { | ||
var _ref = _asyncToGenerator(function* (directory, command) { | ||
@@ -49,0 +49,0 @@ console.log(`=== argos-cli: uploading '${directory}' directory...\n`); |
@@ -29,5 +29,5 @@ 'use strict'; | ||
const commit = commitOption || _config2.default.get('commit') || environment.commit; | ||
const buildId = buildIdOption || _config2.default.get('buildId'); | ||
const batchId = batchIdOption || _config2.default.get('batchId'); | ||
const batchTotal = batchTotalOption || _config2.default.get('batchTotal'); | ||
const buildId = buildIdOption || _config2.default.get('buildId') || environment.buildId; | ||
const batchId = batchIdOption || _config2.default.get('batchId') || environment.batchId; | ||
const batchTotal = batchTotalOption || _config2.default.get('batchTotal') || environment.batchTotal; | ||
@@ -34,0 +34,0 @@ if (environment.ci) { |
{ | ||
"name": "@doctolib/argos-cli", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Argos command line interface.", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
23123
481