@capgo/cli
Version:
A CLI to upload to capgo servers
17 lines (16 loc) • 782 B
TypeScript
import type { FC } from 'react';
import type { OnboardingProgress, OnboardingResult } from '../types.js';
interface AppProps {
appId: string;
initialProgress: OnboardingProgress | null;
/** Resolved iOS directory from capacitor.config (defaults to 'ios') */
iosDir: string;
/** Optional Capgo API key passed via -a/--apikey flag; takes precedence over saved key */
apikey?: string;
/** Reports the wizard outcome to the shell when it reaches build-complete, so
* the caller prints an accurate post-exit message + durable summary instead of
* always claiming success. Never fires on cancel/missing-platform exits. */
onResult?: (result: OnboardingResult) => void;
}
declare const OnboardingApp: FC<AppProps>;
export default OnboardingApp;