UNPKG

@marp-team/marp-cli

Version:

A CLI interface for Marp and Marpit based converters

17 lines (16 loc) 684 B
export interface MarpCLIOptions { baseUrl?: string; stdin: boolean; throwErrorAlways: boolean; } export type MarpCLIAPIOptions = Pick<MarpCLIOptions, 'baseUrl'>; export interface MarpCLICLIOptions { debug?: string | boolean; } export interface ObservationHelper { stop: () => void; } export declare const marpCli: (argv: string[], { baseUrl, stdin: defaultStdin, throwErrorAlways }: MarpCLIOptions) => Promise<number>; export declare const waitForObservation: () => Promise<ObservationHelper>; export declare const apiInterface: (argv: string[], opts?: MarpCLIAPIOptions) => Promise<number>; export declare const cliInterface: (argv: string[]) => Promise<number>;