UNPKG

@redocly/cli

Version:

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

24 lines 975 B
import type { OutputFormat } from '@redocly/openapi-core'; import type { CommandArgs } from '../../wrapper.js'; import type { DeploymentStatusResponse, PushResponse } from '../api/types.js'; import type { VerifyConfigOptions } from '../../types.js'; export type PushStatusArgv = { organization: string; project: string; pushId: string; domain?: string; format?: Extract<OutputFormat, 'stylish'>; wait?: boolean; 'max-execution-time'?: number; 'retry-interval'?: number; 'start-time'?: number; 'continue-on-deploy-failures'?: boolean; onRetry?: (lasSummary: PushStatusSummary) => void; } & VerifyConfigOptions; export interface PushStatusSummary { preview: DeploymentStatusResponse; production: DeploymentStatusResponse | null; commit: PushResponse['commit']; } export declare function handlePushStatus({ argv, }: CommandArgs<PushStatusArgv>): Promise<PushStatusSummary | void>; //# sourceMappingURL=push-status.d.ts.map