UNPKG

@capgo/cli

Version:

A CLI to upload to capgo servers

12 lines (11 loc) 483 B
/** * Returns true if we're on macOS and can use the native file picker. */ export declare function canUseFilePicker(): boolean; /** * Open the macOS native file picker dialog filtered to .p8 files. * Returns the selected file path, or null if the user cancelled. * Non-blocking — uses async execFile so Ink spinners keep animating. */ export declare function openFilePicker(): Promise<string | null>; export declare function openPackageJsonPicker(): Promise<string | null>;