UNPKG

test-bed-time-service

Version:

A time service for the test-bed, producing messages with real time, fictive time and scenario duration.

37 lines (36 loc) 966 B
import { OptionDefinition } from 'command-line-args'; import { Application } from 'express'; export interface ICommandOptions { port: number; interval: number; kafkaHost: string; schemaRegistryUrl: string; autoRegisterSchemas: boolean; help?: boolean; version?: boolean; } export interface IOptionDefinition extends OptionDefinition { typeLabel: string; 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; })[]; } declare const app: Application; export { app };