MCPcopy Create free account
hub / github.com/deepnote/deepnote / promptForBooleanField

Function promptForBooleanField

packages/cli/src/utils/inquirer.ts:198–209  ·  view source on GitHub ↗
({
  label,
  defaultValue,
}: {
  label: string
  defaultValue?: boolean
})

Source from the content-addressed store, hash-verified

196}
197
198export async function promptForBooleanField({
199 label,
200 defaultValue,
201}: {
202 label: string
203 defaultValue?: boolean
204}): Promise<boolean> {
205 return confirm({
206 message: label,
207 default: defaultValue,
208 })
209}

Callers 3

promptForSslFieldsFunction · 0.90
promptForFieldsSpannerFunction · 0.90
promptForSshFieldsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected