UNPKG

@vivliostyle/cli

Version:

Save the pdf file via headless browser and Vivliostyle.

19 lines (18 loc) 729 B
#!/usr/bin/env node import { versionForDisplay } from "./chunk-OAFXM4ES.js"; import "./chunk-I7BWSAN6.js"; // src/cli.ts import { Command } from "commander"; var program = new Command(); program.name("vivliostyle").version(versionForDisplay, "-v, --version").command("create", "Scaffold a new Vivliostyle project", { executableFile: "commands/create" }).command("init", "Create a Vivliostyle configuration file", { executableFile: "commands/init" }).command("build", "Create PDF, EPUB, and other publication files", { executableFile: "commands/build" }).command("preview", "Open the preview page and interactively save PDFs", { executableFile: "commands/preview" }).parse(process.argv); //# sourceMappingURL=cli.js.map