mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
16 lines
452 B
JavaScript
Executable file
16 lines
452 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
|
|
import { main } from "../src/main.js";
|
|
import { initializePackageManager } from "../src/packagemanager/currentPackageManager.js";
|
|
import { setEcoSystem, ECOSYSTEM_PY } from "../src/config/settings.js";
|
|
|
|
// Set eco system
|
|
setEcoSystem(ECOSYSTEM_PY);
|
|
|
|
initializePackageManager("pipx");
|
|
|
|
(async () => {
|
|
// Pass through only user-supplied pipx args
|
|
var exitCode = await main(process.argv.slice(2));
|
|
process.exit(exitCode);
|
|
})();
|