简体中文
Interface: PasswordOptions
Defined in: node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:767
Options for the password prompt
Extends
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
| ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:42 | ||
| When enabled it causes the input to be cleared if/when validation fails. Default ts | ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:787 | |
| ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:38 | ||
| Character to use for masking input. Default ts | ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:776 | |
| The prompt message or question shown to the user above the input. | ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:771 | |
| ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:39 | ||
| ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:40 | ||
| A function or a Standard Schema that validates user input. If a custom function is given, you should return a | ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:782 | |
| ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:41 |

