UNPKG

@vivliostyle/cli

Version:

Save the pdf file via headless browser and Vivliostyle.

20 lines (19 loc) 625 B
#!/usr/bin/env node import { cliVersion, coreVersion } from "./chunk-4IIM6RSG.js"; import "./chunk-I7BWSAN6.js"; // src/cli.ts import { Command } from "commander"; var version = `cli: ${cliVersion} core: ${coreVersion}`; var program = new Command(); program.name("vivliostyle").version(version, "-v, --version").command("init", "create vivliostyle config", { executableFile: "commands/init" }).command("build", "build and create PDF file", { executableFile: "commands/build" }).command("preview", "launch preview server", { executableFile: "commands/preview" }).parse(process.argv); //# sourceMappingURL=cli.js.map