UNPKG

ghinfo

Version:

CLI util for generating a GitHub project information file

6 lines (5 loc) 242 B
import yargs from 'yargs'; import { hideBin } from 'yargs/helpers'; import { command } from './commands/generate.js'; const argv = yargs(hideBin(process.argv)); argv.command(command).demandCommand().wrap(argv.terminalWidth()).help().parse();