Skip to main content

XpmInitTemplateBase.askForMoreValues() method

Prompts the user interactively for missing property values.

Signature

askForMoreValues(): Promise<void>;

Returns

Promise<void>

A promise that resolves when all missing values have been collected.

Remarks

This method creates a readline interface and iteratively prompts the user to provide values for properties without explicit values. For each property, the prompt displays:

  • The property label
  • Valid options (for select and boolean types)
  • The default value in brackets, if available

If the user enters '?', help text is displayed showing the property description and all valid options with their descriptions. Invalid responses are rejected and the prompt is repeated until a valid value is provided. Platform-incompatible options are excluded from select properties.


Generated via tsdoc2docusaurus 1.3.0-pre by API Extractor/Documenter 7.55.2.