@eurekadevsecops/radar
Version:
Radar is an open-source orchestrator of security scanners.
15 lines (10 loc) • 378 B
JavaScript
// require('dotenv').config()
const path = require('node:path')
const cli = require(path.join(__dirname, 'src')).build()
// Check for updates (not in browsers).
cli.checkForUpdates()
// Export the configured CLI module.
module.exports = cli
// Run the command given on the command line.
cli.run().then((exitCode) => { process.exitCode = exitCode ?? 0 })