@capgo/cli
Version:
A CLI to upload to capgo servers
16 lines (15 loc) • 569 B
TypeScript
import type { BundleReleaseTypeOptions } from '../schemas/bundle';
interface ReleaseTypeResult {
releaseType: 'native' | 'OTA';
resolvedAppId: string;
channel: string;
}
/**
* Determine whether a native build or OTA update is recommended.
*/
export declare function getReleaseType(appId: string, options: BundleReleaseTypeOptions): Promise<ReleaseTypeResult>;
/**
* Print the recommended release type and the relevant CLI commands.
*/
export declare function printReleaseType(appId: string, options: BundleReleaseTypeOptions): Promise<void>;
export {};