@swell/cli
Version:
Swell's command line interface/utility
29 lines (28 loc) • 1.09 kB
TypeScript
import { SwellCommand } from '../swell-command.js';
export default class Schema extends SwellCommand {
static summary: string;
static examples: {
description: string;
command: string;
}[];
static args: {
type: import("@oclif/core/lib/interfaces/parser.js").Arg<string | undefined, Record<string, unknown>>;
file: import("@oclif/core/lib/interfaces/parser.js").Arg<string | undefined, Record<string, unknown>>;
};
static flags: {
format: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
yes: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
};
run(): Promise<void>;
protected catch(error: Error): Promise<any>;
private listTypes;
private showSchemaInfo;
private outputSchema;
private validate;
private validateFunction;
private getFileInput;
private readFromStdin;
private getSchemaUrl;
private getBundledSchemaUrl;
private getTypeScriptDeclarationsUrl;
}