UNPKG

playwright-cucumber-ctrf-generator

Version:

Convert Cucumber JSON reports into CTRF Markdown reports for Playwright

12 lines (11 loc) 411 B
#!/usr/bin/env node "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const index_1 = require("./index"); const inputFilePath = process.argv[2]; const outputFilePath = process.argv[3] || "ctrf-report.md"; if (!inputFilePath) { console.error("❌ Please provide a Cucumber JSON report file path."); process.exit(1); } (0, index_1.convertToCTRF)(inputFilePath, outputFilePath);