Type Alias PromptSecretOptions

PromptSecretOptions: {
    clear?: boolean;
    mask?: string;
}

Options for promptSecret.

Type declaration

  • Optionalclear?: boolean

    Clear the current line after the user's input.

  • Optionalmask?: string

    A character to print instead of the user's input.