13 lines
280 B
JavaScript
13 lines
280 B
JavaScript
|
import yargs from "yargs";
|
||
|
import { hideBin } from "yargs/helpers";
|
||
|
import * as cssCmd from "./cmds/css.mjs";
|
||
|
|
||
|
// Set up the top-level command.
|
||
|
yargs(hideBin(process.argv))
|
||
|
.scriptName("priduck")
|
||
|
.usage("$0 <cmd> [args]")
|
||
|
.command(cssCmd)
|
||
|
.demand(2)
|
||
|
.help()
|
||
|
.parse();
|