Skip to content

PromptPasswordQuestion

@tsed/cli-prompts

Usage ​

typescript
import { PromptPasswordQuestion } from "@tsed/cli-prompts";

See /packages/cli-prompts/src/interfaces/PromptQuestion.ts.

Overview ​

ts
interface PromptPasswordQuestion extends PromptBaseQuestion<string>, Omit<PasswordOptions, "message"> {
    type: "password";
}

Description ​

Hidden text prompt (e.g., passwords or tokens).

type ​

ts
type: "password";

Released under the MIT License.