witq/endoscope

View on GitHub
lib/bin.js

Summary

Maintainability
A
0 mins
Test Coverage
#!/usr/bin/env node

const loadProbes = require("./load-probes.js");

const [, , path, level] = process.argv;
const endoscope = loadProbes(path);

endoscope.run(parseInt(level)).catch(() => process.exit(1));