avro-schema-validator
Version:
A tool to infer AVRO schema's from JSON messages, and to validate it.
31 lines (30 loc) • 781 B
TypeScript
import { OptionDefinition } from 'command-line-args';
export interface ICommandOptions {
schema: string;
output?: string;
file: string;
wrapped?: boolean;
help?: 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;
})[];
}