InitTemplateBase.isInteractive property
Flag indicating whether the template is running in interactive mode.
Signature
isInteractive: boolean;
Remarks
This flag determines whether the template execution involved user interaction through terminal prompts for missing mandatory property values.
State management:
- Initialised to
falseupon construction. - Set to
truein [InitTemplateBase.run()](/xpm-lib-ts/docs/api/xpm-lib/classes/inittemplatebase/run) if at least one mandatory property was missing and required interactive prompting. - Set to
falseif all mandatory properties were provided via command-line options.
When interactive mode is activated, the context start time is reset after user input to exclude interactive time from performance metrics, ensuring accurate measurement of the template processing duration.
Generated via tsdoc2docusaurus 1.3.2 by API Extractor/Documenter 7.57.2.