UNPKG

postman-json-chopper

Version:

Splits up large postman collection json file into folders and smaller files and merges them back together

13 lines (12 loc) 466 B
#!/usr/bin/env node "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const merge_1 = require("./merge"); const inFile = process.argv[2]; const outFile = process.argv[3]; if (process.argv.length !== 4) { console.error("Please specify all command line arguments:"); console.error("merge ./path/to/postman_collection_with_refs.json path/to/large_postman_collection.json"); process.exit(1); } (0, merge_1.merge)(inFile, outFile);