UNPKG

@argdown/cli

Version:

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

45 lines (44 loc) 1.25 kB
import { Arguments } from "yargs"; import { IGeneralCliOptions } from "../IGeneralCliOptions"; export declare const command = "web-component [inputGlob] [outputDir]"; export declare const desc = "export Argdown input as argdown-map web component"; export declare const builder: { logParserErrors: { describe: string; type: string; default: boolean; }; removeFrontMatter: { alias: string; descrie: string; type: string; default: boolean; }; addWebComponentScript: { alias: string; describe: string; type: string; default: boolean; }; addWebComponentPolyfill: { alias: string; describe: string; type: string; default: boolean; }; addGlobalStyles: { alias: string; describe: string; type: string; default: boolean; }; }; export interface IWebComponentCliOptions { removeFrontMatter?: boolean; addWebComponentScript?: boolean; addWebComponentPolyfill?: boolean; addGlobalStyles?: boolean; inputGlob?: string; outputDir?: string; } export declare const handler: (args: Arguments<IGeneralCliOptions & IWebComponentCliOptions>) => Promise<void>;