You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
410 B
JavaScript

3 months ago
#!/usr/bin/env node
"use strict";
import "../tools/exit.cjs";
import fs from "fs";
import path from "path";
import program from "commander";
import { _run_cli as run_cli } from "../main.js";
const packageJson= JSON.parse( fs.readFileSync( new URL("./package.json", import.meta.url)));
run_cli({ program, packageJson, fs, path }).catch((error) => {
console.error(error);
process.exitCode = 1;
});