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

Function promptForRequiredStringPortField

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

Source from the content-addressed store, hash-verified

100}
101
102export async function promptForRequiredStringPortField({
103 label,
104 defaultValue,
105}: {
106 label: string
107 defaultValue?: string
108}): Promise<string> {
109 return promptForStringField({
110 label,
111 secret: false,
112 required: true,
113 defaultValue,
114 customValidate: stringPortValidate,
115 })
116}
117
118export async function promptForOptionalStringPortField({
119 label,

Callers 11

promptForFieldsMysqlFunction · 0.90
promptForFieldsMindsdbFunction · 0.90
promptForFieldsAlloydbFunction · 0.90
promptForFieldsDremioFunction · 0.90
promptForFieldsMariadbFunction · 0.90
promptForFieldsPostgresFunction · 0.90
promptForFieldsSqlServerFunction · 0.90
promptForSshFieldsFunction · 0.90

Calls 1

promptForStringFieldFunction · 0.85

Tested by

no test coverage detected