@capgo/cli
Version:
A CLI to upload to capgo servers
18 lines (17 loc) • 847 B
TypeScript
export interface CreateAppleKeyOptions {
apikey?: string;
/** When set, the captured key is saved into this app's iOS build credentials. */
appId?: string;
/** Save into the per-project .capgo-credentials.json instead of the global file. */
local?: boolean;
/** Print the captured Key ID / Issuer ID / .p8 path as JSON on stdout. */
json?: boolean;
}
/**
* Guided creation of an App Store Connect **team** API key. Launches the native
* macOS helper (a precompiled Swift app that walks the user through Apple's web
* UI in an embedded browser), streams its stats protocol to PostHog, and
* captures the resulting key — issuer id, key id and the one-time .p8 — without
* the user ever copy-pasting a credential.
*/
export declare function createAppleKeyCommand(options?: CreateAppleKeyOptions): Promise<void>;