UNPKG

@tanstack/cli

Version:
17 lines (16 loc) 1.19 kB
import type { AddOn, PackageManager } from '@tanstack/create'; import type { Framework } from '@tanstack/create/dist/types/types.js'; export declare function getProjectName(): Promise<string>; export declare function selectPackageManager(): Promise<PackageManager>; export declare function selectTemplate(templates: Array<{ id: string; name: string; description?: string; }>): Promise<string | undefined>; export declare function selectAddOns(framework: Framework, mode: string, type: string, message: string, forcedAddOns?: Array<string>, allowMultiple?: boolean): Promise<Array<string>>; export declare function selectGit(): Promise<boolean>; export declare function selectExamples(): Promise<boolean>; export declare function selectToolchain(framework: Framework, toolchain?: string | false): Promise<string | undefined>; export declare function promptForAddOnOptions(addOnIds: Array<string>, framework: Framework): Promise<Record<string, Record<string, any>>>; export declare function promptForEnvVars(addOns: Array<AddOn>): Promise<Record<string, string>>; export declare function selectDeployment(framework: Framework, deployment?: string): Promise<string | undefined>;