MCPcopy Create free account
hub / github.com/TanStack/cli / selectInstall

Function selectInstall

packages/cli/src/ui-prompts.ts:55–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55export async function selectInstall(): Promise<boolean> {
56 const install = await confirm({
57 message: 'Would you like to install dependencies now?',
58 initialValue: true,
59 })
60 if (isCancel(install)) {
61 cancel('Operation cancelled.')
62 process.exit(0)
63 }
64 return install
65}
66
67export async function getProjectName(): Promise<string> {
68 const value = await text({

Callers 1

promptForCreateOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected