allure-commandline
Wrapper to install Allure-commandline via NPM
🌟 Show real-time usage chart on allure-commandline's README.md, just copy the code below.## Usage Trend
[](https://npm-compare.com/allure-commandline#timeRange=THREE_YEARS)
🌟 Show GitHub stars trend chart on allure-commandline's README.md, just copy the code below.## GitHub Stars Trend
[](https://npm-compare.com/allure-commandline)
Allure Commandline

NPM wrapper for Allure Commandline
Install
- Allure requires Java 8 or higher
npm install -g allure-commandline --save-dev
Usage
allure <command> [<args>]
Run allure help for a list of supported commands.
Node.js API
You can also call Allure commands from your Node.js code:
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 packages should be downloaded from external storage. Repository content doesn't have actual code.
- Update package version
$ npm version 2.13.0
- Download the Allure-commandline package:
./fetch-source
- Publish result to NPM:
npm publish