@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
22 lines • 1.15 kB
TypeScript
import type { ExitCode } from './miscellaneous.js';
import type { ArazzoDefinition, Config } from '@redocly/openapi-core';
import type { Arguments } from 'yargs';
import type { CommandArgv } from '../types.js';
export declare function sendTelemetry({ config, argv, exit_code, execution_time, spec_version, spec_keyword, spec_full_version, respect_x_security_auth_types, }: {
config: Config | undefined;
argv: Arguments<CommandArgv> | undefined;
exit_code: ExitCode;
execution_time: number;
spec_version: string | undefined;
spec_keyword: string | undefined;
spec_full_version: string | undefined;
respect_x_security_auth_types: string[] | undefined;
}): Promise<void>;
export declare function collectXSecurityAuthTypes(document: Partial<ArazzoDefinition>, respectXSecurityAuthTypesAndSchemeName: string[]): void;
export declare function cleanArgs(parsedArgs: CommandArgv, rawArgv: string[]): {
arguments: string;
raw_input: string;
};
export declare const cacheAnonymousId: (anonymousId: string) => void;
export declare const getCachedAnonymousId: () => string | undefined;
//# sourceMappingURL=telemetry.d.ts.map