UNPKG

kafka-topics-logger

Version:
33 lines (32 loc) 822 B
import { OptionDefinition } from 'command-line-args'; export interface ICommandOptions { topic: string; output: string; index: number; kafka: string; registry: string; help?: boolean; unwrap?: boolean; } export interface IOptionDefinition extends OptionDefinition { description: string; } export declare class CommandLineInterface { static optionDefinitions: IOptionDefinition[]; static sections: ({ header: string; content: string; optionList?: undefined; } | { header: string; optionList: IOptionDefinition[]; content?: undefined; } | { header: string; content: { desc: string; example: string; }[]; optionList?: undefined; })[]; }