UNPKG

@argdown/cli

Version:

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

32 lines (31 loc) 846 B
import { Arguments } from "yargs"; import { IGeneralCliOptions } from "../IGeneralCliOptions"; export declare const command = "json [inputGlob] [outputDir]"; export declare const desc = "export Argdown input as JSON files"; export declare const builder: { logParserErrors: { alias: string; describe: string; type: string; default: boolean; }; spaces: { alias: string; describe: string; type: string; }; removeMap: { describe: string; type: string; }; removeEmbeddedRelations: { describe: string; type: string; }; }; export interface IJSONCliOptions { inputGlob?: string; outputDir?: string; spaces?: number; } export declare const handler: (args: Arguments<IGeneralCliOptions & IJSONCliOptions>) => Promise<void>;