UNPKG

postman-json-chopper

Version:

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

14 lines (10 loc) 367 B
#!/usr/bin/env node import { merge } from './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); } merge(inFile, outFile);