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

Function promptForRequiredSecretField

packages/cli/src/utils/inquirer.ts:134–144  ·  view source on GitHub ↗
({
  label,
  defaultValue,
  customValidate,
}: {
  label: string
  defaultValue?: string
  customValidate?: StringFieldCustomValidateFn
})

Source from the content-addressed store, hash-verified

132}
133
134export async function promptForRequiredSecretField({
135 label,
136 defaultValue,
137 customValidate,
138}: {
139 label: string
140 defaultValue?: string
141 customValidate?: StringFieldCustomValidateFn
142}): Promise<string> {
143 return promptForStringField({ label, secret: true, required: true, defaultValue, customValidate })
144}
145
146export async function promptForOptionalSecretField({
147 label,

Callers 15

promptForFieldsMysqlFunction · 0.90
promptForFieldsMindsdbFunction · 0.90
promptForPasswordAuthFunction · 0.90
promptForPasswordAuthFunction · 0.90
promptForOauthAuthFunction · 0.90
promptForFieldsAlloydbFunction · 0.90
promptForFieldsDremioFunction · 0.90
promptForFieldsMongodbFunction · 0.90
promptForFieldsAthenaFunction · 0.90
promptForFieldsMariadbFunction · 0.90

Calls 1

promptForStringFieldFunction · 0.85

Tested by

no test coverage detected