UNPKG

@shopify/cli-kit

Version:

A set of utilities, interfaces, and models that are common across all the platform features

11 lines (10 loc) 479 B
/** * Prompts the user to select from existing sessions or log in with a different account. * * - If alias is provided, tries to switch to that session directly * - Otherwise, shows a prompt with all available sessions and the option to log in with a different account. * * @param alias - Optional alias of the account to switch to. * @returns Promise with the alias of the chosen session. */ export declare function promptSessionSelect(alias?: string): Promise<string>;