@capgo/cli
Version:
A CLI to upload to capgo servers
17 lines (16 loc) • 744 B
TypeScript
export interface OnboardingBuilderOptions {
analytics?: boolean;
apikey?: string;
platform?: string;
supaHost?: string;
/**
* Offer the self-update prompt as the first wizard screen. ONLY the genuine
* `build init` / `onboarding` entrypoint sets this. Other callers that reach
* onboarding as a sub-step (`bundle upload`'s launch-onboarding,
* `build credentials manage`) must leave it false: their process.argv is the
* wrapper command (`bundle upload …`), so a re-exec would repeat THAT command
* (e.g. re-run the upload) instead of `build init`.
*/
enableSelfUpdate?: boolean;
}
export declare function onboardingBuilderCommand(options?: OnboardingBuilderOptions): Promise<void>;