NPM wrapper for Allure Commandline
npm install -g allure-commandline --save-dev
allure <command> [<args>]
Run allure help
for a list of supported commands.
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);
});
Allure packages should be downloaded from external storage. Repository content doesn't have actual code.
$ npm version 2.13.0
./fetch-source
npm publish