@codingtools/cdt
Version:
CLI for Developers
28 lines (27 loc) • 854 B
TypeScript
import { Command, flags } from '@oclif/command';
export default class Avro extends Command {
static description: string;
static GET_SCHEMA: string;
static TO_JSON: string;
static TO_AVRO: string;
static TO_CSV: string;
static SupportedCommands: string[];
static flags: {
help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
command: flags.IOptionFlag<string | undefined>;
file: flags.IOptionFlag<string | undefined>;
output: flags.IOptionFlag<string | undefined>;
schemaType: flags.IOptionFlag<string | undefined>;
};
static args: {
name: string;
}[];
run(): Promise<void>;
private checkParameters;
private executeCommand;
private getSchema;
private toJson;
private toCsv;
private toAvro;
private convertAvroJsonToValidJson;
}