Optional defaultDefault value used as the prompt's initial answer.
Optional messagePrompt question text for an unanswered required parameter.
The parameter (flag) name, also used as the local/args key.
Optional requiredWhether the parameter must be supplied or answered.
The parameter type: a registry name or a resolver function.
Description
A single declared action parameter in the
paramsexport of a class-based action hook module. The declaration drives flag coercion, prompt generation (for parameters not supplied via flags) and post-prompt validation.