allure-commandline
Advanced tools
Comparing version 2.0.0-BETA6 to 2.0.0-BETA7
@@ -1,1 +0,1 @@ | ||
The directory with Allure plugins. To add the plugin simply unpack plugin to this folder. | ||
The directory with Allure plugins. To add the plugin simply unpack it to this folder. |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "2.0.0-BETA6", | ||
"version": "2.0.0-BETA7", | ||
"description": "Wrapper to install Allure-commandline via NPM", | ||
@@ -16,3 +16,3 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "./bin/allure version" | ||
"test": "./bin/allure --version" | ||
}, | ||
@@ -19,0 +19,0 @@ "repository": "https://github.com/allure-framework/allure-npm.git", |
@@ -13,3 +13,3 @@ # Allure Commandline | ||
2. `npm install -g allure-commandline --save-dev` | ||
## Usage | ||
@@ -22,5 +22,20 @@ | ||
## Node.js API | ||
You can also call Allure commands from your Node.js code: | ||
```js | ||
var allure = require('allure-commandline'); | ||
// returns ChildProcess instance | ||
var generation = allure(['generate', 'allure-results']); | ||
generation.on('exit', function(exitCode) { | ||
console.log('Generation is finished with code:', exitCode); | ||
}); | ||
``` | ||
# Development | ||
Allure package should be downloaded from external storage. Repository content doesn't have actual code. | ||
Allure package should be downloaded from external storage. Repository content doesn't have actual code. | ||
@@ -27,0 +42,0 @@ 1. Download Allure-commandline package: `./fetch-sources <version>` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
43
7644632
63
149
2
2