bananass
Version:
Baekjoon Framework for JavaScript.🍌
45 lines (37 loc) • 1.02 kB
JavaScript
/**
* @fileoverview Entry file for the `npx bananass` CLI command. See the `bin` field in `../package.json`.
*/
// --------------------------------------------------------------------------------
// Import
// --------------------------------------------------------------------------------
import { program } from 'commander';
import {
global,
add,
bug,
build,
discussion,
home,
info,
open,
repo,
run,
} from './cli/index.js';
// --------------------------------------------------------------------------------
// Commands
// --------------------------------------------------------------------------------
global(program);
add(program);
bug(program);
build(program);
discussion(program);
home(program);
info(program);
open(program);
repo(program);
run(program);
// --------------------------------------------------------------------------------
// Parse `commander`
// --------------------------------------------------------------------------------
program.parse();