UNPKG

@stoplight/spectral

Version:

A flexible object linter with out of the box support for OpenAPI v2 and v3.

23 lines (22 loc) 1.05 kB
import { Command, flags as flagHelpers } from '@oclif/command'; export default class Lint extends Command { static description: string; static examples: string[]; static flags: { help: import("@oclif/parser/lib/flags").IBooleanFlag<void>; config: flagHelpers.IOptionFlag<string | undefined>; encoding: flagHelpers.IOptionFlag<string | undefined>; format: flagHelpers.IOptionFlag<string | undefined>; output: flagHelpers.IOptionFlag<string | undefined>; 'max-results': import("@oclif/parser/lib/flags").IOptionFlag<number | undefined>; maxResults: import("@oclif/parser/lib/flags").IOptionFlag<number | undefined>; ruleset: flagHelpers.IOptionFlag<string[]>; 'skip-rule': flagHelpers.IOptionFlag<string[]>; verbose: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>; }; static args: { name: string; }[]; run(): Promise<void>; } export declare function writeOutput(outputStr: string, flags: any, command: Lint): Promise<void>;