UNPKG

@redocly/cli

Version:

[@Redocly](https://redocly.com) CLI is your all-in-one OpenAPI utility. It builds, manages, improves, and quality-checks your OpenAPI descriptions, all of which comes in handy for various phases of the API Lifecycle. Create your own rulesets to make API g

13 lines (12 loc) 566 B
import type { Skips, VerifyConfigOptions } from '../../types'; import type { CommandArgs } from '../../wrapper'; export type PreviewDocsOptions = { port: number; host: string; 'use-community-edition'?: boolean; config?: string; api?: string; force?: boolean; } & Omit<Skips, 'skip-rule'> & VerifyConfigOptions; export declare function previewDocs({ argv, config: configFromFile, }: CommandArgs<PreviewDocsOptions>): Promise<void>; export declare function debounce(func: Function, wait: number, immediate?: boolean): (...args: any[]) => void;