2024-05-07 02:56:35 +00:00
|
|
|
import yargs from "yargs";
|
|
|
|
import { hideBin } from "yargs/helpers";
|
|
|
|
import * as cssCmd from "./cmds/css.mjs";
|
2024-05-07 06:02:23 +00:00
|
|
|
import * as paletteCmd from "./cmds/palette.mjs";
|
2024-05-07 02:56:35 +00:00
|
|
|
|
|
|
|
// Set up the top-level command.
|
|
|
|
yargs(hideBin(process.argv))
|
|
|
|
.scriptName("priduck")
|
|
|
|
.usage("$0 <cmd> [args]")
|
|
|
|
.command(cssCmd)
|
2024-05-07 06:02:23 +00:00
|
|
|
.command(paletteCmd)
|
2024-05-07 02:56:35 +00:00
|
|
|
.demand(2)
|
|
|
|
.help()
|
|
|
|
.parse();
|