@capgo/cli
Version:
A CLI to upload to capgo servers
14 lines (13 loc) • 709 B
TypeScript
/**
* Read the app target's CODE_SIGN_ENTITLEMENTS file, falling back to the
* Capacitor-convention path only when that build setting is absent.
*/
export declare function readAppEntitlements(projectDir: string, appId?: string): {
raw: string;
} | null;
/** String entitlement value (e.g. aps-environment), or null when absent. */
export declare function entString(raw: string, key: string): string | null;
/** Array entitlement members (e.g. application-groups), or [] when absent. */
export declare function entArray(raw: string, key: string): string[];
/** Boolean entitlement (e.g. get-task-allow), or null when absent. */
export declare function entBool(raw: string, key: string): boolean | null;