UNPKG

@gld5000-cli/script-selector

Version:

Builds a CLI menu to select and run your NPM package.json scripts

12 lines (7 loc) 296 B
#!/usr/bin/env node import { runSelectedScript } from "../src/util/selectPackageScripts.mjs"; import { logTimestampArrow } from "@gld5000k/timestamp"; const argument = process.argv[2]; console.log('argument:', argument); logTimestampArrow(); await runSelectedScript(argument);