UNPKG

@argdown/cli

Version:

A command line interface for exporting Argdown files to html, dot or json.

47 lines (46 loc) 1.1 kB
import { Arguments } from "yargs"; import { IGeneralCliOptions } from "../IGeneralCliOptions"; export declare const command = "html [inputGlob] [outputDir]"; export declare const desc = "export Argdown input as HTML files"; export declare const builder: { headless: { alias: string; describe: string; type: string; }; head: { alias: string; describe: string; type: string; }; css: { alias: string; describe: string; type: string; }; title: { alias: string; describe: string; type: string; }; lang: { alias: string; describe: string; type: string; }; charset: { alias: string; describe: string; type: string; }; }; export interface IHtmlCliOptions { charset?: string; headless?: boolean; title?: string; css?: string; lang?: string; inputGlob?: string; outputDir?: string; } export declare const handler: (args: Arguments<IGeneralCliOptions & IHtmlCliOptions>) => Promise<void>;