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.
gpt-pilot/scripts/analyze-plugin-sdk-usage.ts

10 lines
320 B
JavaScript

#!/usr/bin/env node
import { main } from "./ts-topology.ts";
const forwardedArgs = process.argv.slice(2);
const normalizedArgs = forwardedArgs[0] === "--" ? forwardedArgs.slice(1) : forwardedArgs;
const exitCode = await main(["--scope=plugin-sdk", ...normalizedArgs]);
if (exitCode !== 0) {
process.exit(exitCode);
}