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

29 lines (28 loc) 893 B
import type { OutputFormat } from '@redocly/openapi-core'; import type { CommandArgs } from '../../wrapper'; import type { VerifyConfigOptions } from '../../types'; export type PushOptions = { apis?: string[]; organization?: string; project: string; 'mount-path': string; branch: string; author: string; message: string; 'commit-sha'?: string; 'commit-url'?: string; namespace?: string; repository?: string; 'created-at'?: string; files: string[]; 'default-branch': string; domain?: string; 'wait-for-deployment'?: boolean; 'max-execution-time': number; 'continue-on-deploy-failures'?: boolean; verbose?: boolean; format?: Extract<OutputFormat, 'stylish'>; } & VerifyConfigOptions; export declare function handlePush({ argv, config, version, }: CommandArgs<PushOptions>): Promise<{ pushId: string; } | void>;