Passa al contenuto principale

Namespace TecnoPack.Interactivity

Classes

ConsoleLauncher

Launches a generated batch script via CMD, captures the output from a temporary file, and handles cleanup. The script must use the placeholder #outputFilePath#, which will be replaced with the actual path before execution.

PromptFramework

High-level API for prompting users via console and system dialogs. Wraps ScriptBuilder and ConsoleLauncher into friendly methods.

ScriptBuilderCommon

Common building blocks for batch scripts (header, footer, logo, colors).

ScriptBuilderConfirm

Builder for Yes/No confirmation prompts.

ScriptBuilderFileDialogs

Builders for opening native Open/Save File dialogs via PowerShell and writing the result.

ScriptBuilderOption

Builders for single/multiple selection console prompts.

ScriptBuilderText

Batch script builders for text, number, and password prompts.