kafka-topics-logger
Version:
Log messages in a Kafka topic to a JSON file.
33 lines (32 loc) • 822 B
TypeScript
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;
})[];
}