UNPKG

newman-run

Version:

Run multiple postman collections along with predefined configs using single feed file. Reduces commandline arguments since reporting (allure, json, cli and html) is embeded internally

21 lines (20 loc) 476 B
const inquirer = require('inquirer'); module.exports = { askForFeedFile: () => { const questions = [ { name: 'feed', type: 'input', message: 'Enter your feed file path', validate: function( value ) { if (value.length) { return true; } else { return 'Please enter your feed file path'; } } } ]; return inquirer.prompt(questions); } };